Struct scylla::serialize::raw_batch::RawBatchValuesIteratorAdapter
source · pub struct RawBatchValuesIteratorAdapter<BVI, CTX> { /* private fields */ }
Expand description
Takes BatchValuesIterator
and an iterator over contexts, and turns them into a RawBatchValuesIterator
.
Trait Implementations§
source§impl<'bvi, 'ctx, BVI, CTX> RawBatchValuesIterator<'bvi> for RawBatchValuesIteratorAdapter<BVI, CTX>
impl<'bvi, 'ctx, BVI, CTX> RawBatchValuesIterator<'bvi> for RawBatchValuesIteratorAdapter<BVI, CTX>
source§fn serialize_next(
&mut self,
writer: &mut RowWriter<'_>
) -> Option<Result<(), SerializationError>>
fn serialize_next( &mut self, writer: &mut RowWriter<'_> ) -> Option<Result<(), SerializationError>>
Serializes the next set of values in the sequence and advances the iterator.
source§fn is_empty_next(&mut self) -> Option<bool>
fn is_empty_next(&mut self) -> Option<bool>
Returns whether the next set of values is empty or not and advances the iterator.
Auto Trait Implementations§
impl<BVI, CTX> RefUnwindSafe for RawBatchValuesIteratorAdapter<BVI, CTX>where
BVI: RefUnwindSafe,
CTX: RefUnwindSafe,
impl<BVI, CTX> Send for RawBatchValuesIteratorAdapter<BVI, CTX>
impl<BVI, CTX> Sync for RawBatchValuesIteratorAdapter<BVI, CTX>
impl<BVI, CTX> Unpin for RawBatchValuesIteratorAdapter<BVI, CTX>
impl<BVI, CTX> UnwindSafe for RawBatchValuesIteratorAdapter<BVI, CTX>where
BVI: UnwindSafe,
CTX: UnwindSafe,
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