Struct scylla_cql::types::serialize::writers::WrittenCellProof
source · pub struct WrittenCellProof<'buf> { /* private fields */ }
Expand description
An object that indicates a type-level proof that something was written
by a CellWriter
or CellValueBuilder
with lifetime parameter 'buf
.
This type is returned by set_null
,
set_unset
,
set_value
and also CellValueBuilder::finish
- generally speaking, after
the value is fully initialized and the CellWriter
is destroyed.
The purpose of this type is to enforce the contract of
SerializeValue::serialize
: either
the method succeeds and returns a proof that it serialized itself
into the given value, or it fails and returns an error or panics.
Trait Implementations§
Auto Trait Implementations§
impl<'buf> Freeze for WrittenCellProof<'buf>
impl<'buf> RefUnwindSafe for WrittenCellProof<'buf>
impl<'buf> !Send for WrittenCellProof<'buf>
impl<'buf> !Sync for WrittenCellProof<'buf>
impl<'buf> Unpin for WrittenCellProof<'buf>
impl<'buf> UnwindSafe for WrittenCellProof<'buf>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more