Struct async_byteorder::EncodeI16BE
[−]
[src]
pub struct EncodeI16BE<W>(_);
Encode a i16 in big-endian byte order.
Trait Implementations
impl<W: AsyncWrite> AsyncEncode<W> for EncodeBE<W>[src]
fn poll_encode(self, cx: &mut Context, writer: &mut W) -> PollEnc<Self>[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 EncodeBE<W>[src]
fn remaining_bytes(&self) -> usize[src]
Return the exact number of bytes this will still write.
Auto Trait Implementations
impl<W> Send for EncodeI16BE<W> where
W: Send,
W: Send,
impl<W> Sync for EncodeI16BE<W> where
W: Sync,
W: Sync,