Struct varu64::Decode [] [src]

pub struct Decode<R> { /* fields omitted */ }

An AsyncDecode for decoding a VarU64.

Methods

impl<R> Decode<R>
[src]

[src]

Create a new Decoder for decoding a VarU64.

Trait Implementations

impl<R: AsyncRead> AsyncDecode<R> for Decode<R>
[src]

The type of the value to decode.

An error indicating how decoding can fail.

[src]

Call reader.poll_read exactly once, propgating any Err and Pending, and return how many bytes have been read, as well as the decoded value, once decoding is done. Read more

Auto Trait Implementations

impl<R> Send for Decode<R> where
    R: Send

impl<R> Sync for Decode<R> where
    R: Sync