Struct scylla_cql::types::serialize::raw_batch::RawBatchValuesAdapter
source · pub struct RawBatchValuesAdapter<BV, CTX> { /* private fields */ }
Expand description
Takes BatchValues
and an iterator over contexts, and turns them into a RawBatchValues
.
Implementations§
source§impl<BV, CTX> RawBatchValuesAdapter<BV, CTX>
impl<BV, CTX> RawBatchValuesAdapter<BV, CTX>
Trait Implementations§
source§impl<'ctx, BV, CTX> RawBatchValues for RawBatchValuesAdapter<BV, CTX>
impl<'ctx, BV, CTX> RawBatchValues for RawBatchValuesAdapter<BV, CTX>
§type RawBatchValuesIter<'r> = RawBatchValuesIteratorAdapter<<BV as BatchValues>::BatchValuesIter<'r>, CTX>
where
Self: 'r
type RawBatchValuesIter<'r> = RawBatchValuesIteratorAdapter<<BV as BatchValues>::BatchValuesIter<'r>, CTX> where Self: 'r
An
Iterator
-like object over the values from the parent BatchValues
object.source§fn batch_values_iter(&self) -> Self::RawBatchValuesIter<'_>
fn batch_values_iter(&self) -> Self::RawBatchValuesIter<'_>
Returns an iterator over the data contained in this object.
Auto Trait Implementations§
impl<BV, CTX> Freeze for RawBatchValuesAdapter<BV, CTX>
impl<BV, CTX> RefUnwindSafe for RawBatchValuesAdapter<BV, CTX>where
BV: RefUnwindSafe,
CTX: RefUnwindSafe,
impl<BV, CTX> Send for RawBatchValuesAdapter<BV, CTX>
impl<BV, CTX> Sync for RawBatchValuesAdapter<BV, CTX>
impl<BV, CTX> Unpin for RawBatchValuesAdapter<BV, CTX>
impl<BV, CTX> UnwindSafe for RawBatchValuesAdapter<BV, CTX>where
BV: 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