Struct ruma_serde::urlencoded::ser::TupleVariantSerializer[][src]

pub struct TupleVariantSerializer<'input, 'output, T: UrlEncodedTarget> { /* 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: UrlEncodedTarget
[src]

type Ok = &'output mut UrlEncodedSerializer<'input, Target>

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

fn serialize_field<T: ?Sized + Serialize>(
    &mut self,
    value: &T
) -> Result<(), Error>
[src]

Serialize a tuple variant field.

fn end(self) -> Result<Self::Ok, Error>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.