Struct scylla::frame::value::LegacyBatchValuesIteratorFromIterator
source · pub struct LegacyBatchValuesIteratorFromIterator<IT>where
IT: Iterator,{ /* private fields */ }
👎Deprecated since 0.15.1: Legacy serialization API is not type-safe and is going to be removed soon
Expand description
Implements BatchValuesIterator
from an Iterator
over references to things that implement ValueList
Essentially used internally by this lib to provide implementers of BatchValuesIterator
for cases
that always serialize the same concrete ValueList
type
Trait Implementations§
source§impl<IT> From<IT> for LegacyBatchValuesIteratorFromIterator<IT>
impl<IT> From<IT> for LegacyBatchValuesIteratorFromIterator<IT>
source§fn from(it: IT) -> LegacyBatchValuesIteratorFromIterator<IT>
fn from(it: IT) -> LegacyBatchValuesIteratorFromIterator<IT>
Converts to this type from the input type.
source§impl<'r, 'a, IT, VL> LegacyBatchValuesIterator<'r> for LegacyBatchValuesIteratorFromIterator<IT>
impl<'r, 'a, IT, VL> LegacyBatchValuesIterator<'r> for LegacyBatchValuesIteratorFromIterator<IT>
source§fn next_serialized(
&mut self,
) -> Option<Result<Cow<'r, LegacySerializedValues>, SerializeValuesError>>
fn next_serialized( &mut self, ) -> Option<Result<Cow<'r, LegacySerializedValues>, SerializeValuesError>>
👎Deprecated since 0.15.1: Legacy serialization API is not type-safe and is going to be removed soon
source§fn write_next_to_request(
&mut self,
buf: &mut impl BufMut,
) -> Option<Result<(), SerializeValuesError>>
fn write_next_to_request( &mut self, buf: &mut impl BufMut, ) -> Option<Result<(), SerializeValuesError>>
👎Deprecated since 0.15.1: Legacy serialization API is not type-safe and is going to be removed soon
Auto Trait Implementations§
impl<IT> Freeze for LegacyBatchValuesIteratorFromIterator<IT>where
IT: Freeze,
impl<IT> RefUnwindSafe for LegacyBatchValuesIteratorFromIterator<IT>where
IT: RefUnwindSafe,
impl<IT> Send for LegacyBatchValuesIteratorFromIterator<IT>where
IT: Send,
impl<IT> Sync for LegacyBatchValuesIteratorFromIterator<IT>where
IT: Sync,
impl<IT> Unpin for LegacyBatchValuesIteratorFromIterator<IT>where
IT: Unpin,
impl<IT> UnwindSafe for LegacyBatchValuesIteratorFromIterator<IT>where
IT: 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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more