Struct async_byteorder::EncodeU16Native [] [src]

pub struct EncodeU16Native<W> { /* fields omitted */ }

Encode a u16 in native byte order.

Trait Implementations

impl<W: AsyncWrite> AsyncEncode<W> for EncodeNative<W>
[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<W: AsyncWrite> AsyncEncodeLen<W> for EncodeNative<W>
[src]

[src]

Return the exact number of bytes this will still write. Read more

Auto Trait Implementations

impl<W> Send for EncodeU16Native<W> where
    W: Send

impl<W> Sync for EncodeU16Native<W> where
    W: Sync