pub(super) struct SerializeTuple<S, E> {
inner: Vec<u8>,
encoding_serializer: EncodingSerializer<S, E>,
expected_len: usize,
}Fields§
§inner: Vec<u8>§encoding_serializer: EncodingSerializer<S, E>§expected_len: usizeImplementations§
Source§impl<S, E> SerializeTuple<S, E>
impl<S, E> SerializeTuple<S, E>
fn new(
encoding_serializer: EncodingSerializer<S, E>,
expected_len: usize,
) -> Selfwhere
S: Serializer,
E: BytesEncoding,
Trait Implementations§
Source§impl<S: Serializer, E: BytesEncoding> SerializeTuple for SerializeTuple<S, E>
impl<S: Serializer, E: BytesEncoding> SerializeTuple for SerializeTuple<S, E>
Auto Trait Implementations§
impl<S, E> Freeze for SerializeTuple<S, E>where
S: Freeze,
impl<S, E> RefUnwindSafe for SerializeTuple<S, E>where
S: RefUnwindSafe,
E: RefUnwindSafe,
impl<S, E> Send for SerializeTuple<S, E>
impl<S, E> Sync for SerializeTuple<S, E>
impl<S, E> Unpin for SerializeTuple<S, E>
impl<S, E> UnsafeUnpin for SerializeTuple<S, E>where
S: UnsafeUnpin,
impl<S, E> UnwindSafe for SerializeTuple<S, E>where
S: UnwindSafe,
E: 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