[][src]Struct bcder::encode::Primitive

pub struct Primitive<P> { /* fields omitted */ }

A value encoder for primitively encoded types.

This type is returned by PrimitiveContent::encode and PrimitiveContent::encode_as.

Trait Implementations

impl<P: PrimitiveContent> Values for Primitive<P>[src]

Auto Trait Implementations

impl<P> RefUnwindSafe for Primitive<P> where
    P: RefUnwindSafe
[src]

impl<P> Send for Primitive<P> where
    P: Send
[src]

impl<P> Sync for Primitive<P> where
    P: Sync
[src]

impl<P> Unpin for Primitive<P> where
    P: Unpin
[src]

impl<P> UnwindSafe for Primitive<P> where
    P: 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.