[go: up one dir, main page]

[][src]Struct combine::stream::Decoder

pub struct Decoder<R, S, P = IndexPositioner> {
    pub positioner: P,
    // some fields omitted
}

Used together with the decode! macro

Fields

positioner: P

Methods

impl<R, S, P> Decoder<R, S, P> where
    P: Default,
    S: Default
[src]

pub fn new(reader: R) -> Self[src]

Trait Implementations

impl<'pin, R, S, P> Unpin for Decoder<R, S, P> where
    __Decoder<'pin, R, S, P>: Unpin
[src]

Auto Trait Implementations

impl<R, S, P> RefUnwindSafe for Decoder<R, S, P> where
    P: RefUnwindSafe,
    R: RefUnwindSafe,
    S: RefUnwindSafe

impl<R, S, P> Send for Decoder<R, S, P> where
    P: Send,
    R: Send,
    S: Send

impl<R, S, P> Sync for Decoder<R, S, P> where
    P: Sync,
    R: Sync,
    S: Sync

impl<R, S, P> UnwindSafe for Decoder<R, S, P> where
    P: UnwindSafe,
    R: UnwindSafe,
    S: UnwindSafe

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.