[][src]Struct tokio_serde::formats::Cbor

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

CBOR codec using serde_cbor crate.

Trait Implementations

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

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

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

type Error = Error

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

type Error = Error

Auto Trait Implementations

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

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

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

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

impl<Item, SinkItem> UnwindSafe for Cbor<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.