[][src]Struct async_codec_lite::CborCodec

pub struct CborCodec<Enc, Dec>(_);

Implementations

impl<Enc, Dec> CborCodec<Enc, Dec>[src]

pub const fn new() -> Self[src]

Trait Implementations

impl<Enc, Dec> Clone for CborCodec<Enc, Dec>[src]

impl<Enc, Dec> Debug for CborCodec<Enc, Dec>[src]

impl<Enc, Dec> Decoder for CborCodec<Enc, Dec> where
    Dec: Deserialize<'de> + 'static, 
[src]

type Error = Error

type Item = Dec

impl<Enc, Dec> Default for CborCodec<Enc, Dec>[src]

impl<Enc, Dec> Encoder for CborCodec<Enc, Dec> where
    Enc: Serialize + 'static, 
[src]

type Error = Error

type Item = Enc

impl<Enc, Dec> PartialEq<CborCodec<Enc, Dec>> for CborCodec<Enc, Dec>[src]

Auto Trait Implementations

impl<Enc, Dec> RefUnwindSafe for CborCodec<Enc, Dec> where
    Dec: RefUnwindSafe,
    Enc: RefUnwindSafe
[src]

impl<Enc, Dec> Send for CborCodec<Enc, Dec> where
    Dec: Send,
    Enc: Send
[src]

impl<Enc, Dec> Sync for CborCodec<Enc, Dec> where
    Dec: Sync,
    Enc: Sync
[src]

impl<Enc, Dec> Unpin for CborCodec<Enc, Dec> where
    Dec: Unpin,
    Enc: Unpin
[src]

impl<Enc, Dec> UnwindSafe for CborCodec<Enc, Dec> where
    Dec: UnwindSafe,
    Enc: 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.