[][src]Struct destream_json::de::Decoder

pub struct Decoder<S> { /* fields omitted */ }

A structure that decodes Rust values from a JSON stream.

Trait Implementations

impl<S: Stream<Item = Result<Vec<u8>, Error>> + Send + Unpin> Decoder for Decoder<S>[src]

type Error = Error

Type to return in case of a decoding error.

impl<S: Stream> From<S> for Decoder<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Decoder<S> where
    S: RefUnwindSafe
[src]

impl<S> Send for Decoder<S> where
    S: Send
[src]

impl<S> Sync for Decoder<S> where
    S: Sync
[src]

impl<S> Unpin for Decoder<S> where
    S: Unpin
[src]

impl<S> UnwindSafe for Decoder<S> where
    S: 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.