[][src]Struct tokio_serde::formats::MessagePack

pub struct MessagePack<Item, SinkItem> { /* fields omitted */ }
This is supported on crate feature messagepack only.

MessagePack codec using rmp-serde crate.

Trait Implementations

impl<Item, SinkItem> Debug for MessagePack<Item, SinkItem>[src]

impl<Item, SinkItem> Default for MessagePack<Item, SinkItem>[src]

impl<Item, SinkItem> Deserializer<Item> for MessagePack<Item, SinkItem> where
    Item: Deserialize<'a>, 
[src]

type Error = Error

impl<Item, SinkItem> Serializer<SinkItem> for MessagePack<Item, SinkItem> where
    SinkItem: Serialize
[src]

type Error = Error

Auto Trait Implementations

impl<Item, SinkItem> RefUnwindSafe for MessagePack<Item, SinkItem> where
    Item: RefUnwindSafe,
    SinkItem: RefUnwindSafe
[src]

impl<Item, SinkItem> Send for MessagePack<Item, SinkItem> where
    Item: Send,
    SinkItem: Send
[src]

impl<Item, SinkItem> Sync for MessagePack<Item, SinkItem> where
    Item: Sync,
    SinkItem: Sync
[src]

impl<Item, SinkItem> Unpin for MessagePack<Item, SinkItem> where
    Item: Unpin,
    SinkItem: Unpin
[src]

impl<Item, SinkItem> UnwindSafe for MessagePack<Item, SinkItem> where
    Item: UnwindSafe,
    SinkItem: UnwindSafe
[src]

Blanket Implementations

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

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

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

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.