pub struct LegacyBatchValuesIteratorAdapter<T>(pub T);
Expand description
A newtype wrapper which adjusts an existing types that implement
LegacyBatchValuesIterator
to the current BatchValuesIterator
API.
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<'r, T> BatchValuesIterator<'r> for LegacyBatchValuesIteratorAdapter<T>where
T: LegacyBatchValuesIterator<'r>,
impl<'r, T> BatchValuesIterator<'r> for LegacyBatchValuesIteratorAdapter<T>where
T: LegacyBatchValuesIterator<'r>,
Source§fn serialize_next(
&mut self,
ctx: &RowSerializationContext<'_>,
writer: &mut RowWriter<'_>,
) -> Option<Result<(), SerializationError>>
fn serialize_next( &mut self, ctx: &RowSerializationContext<'_>, 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<T> Freeze for LegacyBatchValuesIteratorAdapter<T>where
T: Freeze,
impl<T> RefUnwindSafe for LegacyBatchValuesIteratorAdapter<T>where
T: RefUnwindSafe,
impl<T> Send for LegacyBatchValuesIteratorAdapter<T>where
T: Send,
impl<T> Sync for LegacyBatchValuesIteratorAdapter<T>where
T: Sync,
impl<T> Unpin for LegacyBatchValuesIteratorAdapter<T>where
T: Unpin,
impl<T> UnwindSafe for LegacyBatchValuesIteratorAdapter<T>where
T: 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