Struct lib_resp::Decoder [] [src]

pub struct Decoder<T: BufRead> { /* fields omitted */ }

Streaming decoder implementation for BufRead implementors

Methods

impl<T> Decoder<T> where
    T: BufRead
[src]

[src]

[src]

Attempts to read a single value from the stream, then parse it.

[src]

Attempts to read all values from the stream, then parse them.

NOTE: Parsed values will be stored until the stream is empty.

Trait Implementations

Auto Trait Implementations

impl<T> Send for Decoder<T> where
    T: Send

impl<T> Sync for Decoder<T> where
    T: Sync