Struct ruma::serde::urlencoded::ser::TupleVariantSerializer [−][src]
pub struct TupleVariantSerializer<'input, 'output, T> where
T: Target, { /* fields omitted */ }
Expand description
Tuple variant serializer.
Never instantiated, tuple variants are not supported.
Trait Implementations
impl<'input, 'output, Target> SerializeTupleVariant for TupleVariantSerializer<'input, 'output, Target> where
Target: Target,
impl<'input, 'output, Target> SerializeTupleVariant for TupleVariantSerializer<'input, 'output, Target> where
Target: Target,
type Ok = &'output mut Serializer<'input, Target>
type Ok = &'output mut Serializer<'input, Target>
Must match the Ok
type of our Serializer
.
Serialize a tuple variant field.
pub fn end(
self
) -> Result<<TupleVariantSerializer<'input, 'output, Target> as SerializeTupleVariant>::Ok, Error>
pub fn end(
self
) -> Result<<TupleVariantSerializer<'input, 'output, Target> as SerializeTupleVariant>::Ok, Error>
Finish serializing a tuple variant.
Auto Trait Implementations
impl<'input, 'output, T> !RefUnwindSafe for TupleVariantSerializer<'input, 'output, T>
impl<'input, 'output, T> !Send for TupleVariantSerializer<'input, 'output, T>
impl<'input, 'output, T> !Sync for TupleVariantSerializer<'input, 'output, T>
impl<'input, 'output, T> Unpin for TupleVariantSerializer<'input, 'output, T> where
'input: 'output,
impl<'input, 'output, T> !UnwindSafe for TupleVariantSerializer<'input, 'output, T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more