Struct async_byteorder::EncodeU16Native [] [src]

pub struct EncodeU16Native { /* fields omitted */ }

Encode a u16 in native byte order.

Trait Implementations

impl AsyncEncode for EncodeNative
[src]

[src]

Call writer.poll_write once with encoded data, propagating any Err and Pending, and returning how many bytes were written. Read more

impl AsyncEncodeLen for EncodeNative
[src]

[src]

Return the exact number of bytes this will still write.

Auto Trait Implementations