[][src]Struct rmp_serde::encode::Compound

pub struct Compound<'a, W: 'a> { /* fields omitted */ }

Part of serde serialization API.

Trait Implementations

impl<'a, W: Debug + 'a> Debug for Compound<'a, W>[src]

impl<'a, W: Write + 'a> SerializeTuple for Compound<'a, W>[src]

type Ok = ()

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

impl<'a, W: Write + 'a> SerializeStruct for Compound<'a, W>[src]

type Ok = ()

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>[src]

Indicate that a struct field has been skipped.

impl<'a, W: Write + 'a> SerializeStructVariant for Compound<'a, W>[src]

type Ok = ()

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>[src]

Indicate that a struct variant field has been skipped.

impl<'a, W: Write + 'a> SerializeMap for Compound<'a, W>[src]

type Ok = ()

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

fn serialize_entry<K, V>(
    &mut self,
    key: &K,
    value: &V
) -> Result<(), Self::Error> where
    K: Serialize + ?Sized,
    V: Serialize + ?Sized
[src]

Serialize a map entry consisting of a key and a value. Read more

impl<'a, W: Write + 'a> SerializeSeq for Compound<'a, W>[src]

type Ok = ()

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

impl<'a, W: Write + 'a> SerializeTupleStruct for Compound<'a, W>[src]

type Ok = ()

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

impl<'a, W: Write + 'a> SerializeTupleVariant for Compound<'a, W>[src]

type Ok = ()

Must match the Ok type of our Serializer.

type Error = Error

Must match the Error type of our Serializer.

Auto Trait Implementations

impl<'a, W> Unpin for Compound<'a, W>

impl<'a, W> Send for Compound<'a, W> where
    W: Send

impl<'a, W> Sync for Compound<'a, W> where
    W: Sync

impl<'a, W> !UnwindSafe for Compound<'a, W>

impl<'a, W> RefUnwindSafe for Compound<'a, W> where
    W: RefUnwindSafe

Blanket Implementations

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

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

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.

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.

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

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

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