Struct async_codec_util::Decoder [] [src]

pub struct Decoder<R, D> { /* fields omitted */ }

Future for fully decoding an AsyncDecode from an AsyncRead.

Methods

impl<R, D> Decoder<R, D>
[src]

[src]

Create a new Decoder wrapping an AsyncRead and consuming an AsyncDecode.

Trait Implementations

impl<R, D> Future for Decoder<R, D> where
    R: AsyncRead,
    D: AsyncDecode
[src]

A successful value

An error

[src]

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<R, D> Send for Decoder<R, D> where
    D: Send,
    R: Send

impl<R, D> Sync for Decoder<R, D> where
    D: Sync,
    R: Sync