Struct async_byteorder::DecodeU8 [] [src]

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

Decode a u8.

Trait Implementations

impl<R: AsyncRead> AsyncDecode<R> for DecodeByte<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 DecodeU8<R> where
    R: Send

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