[][src]Struct tokio_serde::formats::Bincode

pub struct Bincode<Item, SinkItem, O = DefaultOptions> { /* fields omitted */ }
This is supported on crate feature bincode only.

Bincode codec using bincode crate.

Trait Implementations

impl<Item, SinkItem, O> Debug for Bincode<Item, SinkItem, O>[src]

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

impl<Item, SinkItem, O> Deserializer<Item> for Bincode<Item, SinkItem, O> where
    Item: Deserialize<'a>,
    O: Options + Clone
[src]

type Error = Error

impl<Item, SinkItem, O> From<O> for Bincode<Item, SinkItem, O> where
    O: Options
[src]

impl<Item, SinkItem, O> Serializer<SinkItem> for Bincode<Item, SinkItem, O> where
    SinkItem: Serialize,
    O: Options + Clone
[src]

type Error = Error

Auto Trait Implementations

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

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

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

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

impl<Item, SinkItem, O> UnwindSafe for Bincode<Item, SinkItem, O> where
    Item: UnwindSafe,
    O: 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.