Struct async_byteorder::EncodeU32BE
[−]
[src]
pub struct EncodeU32BE<W>(_);
Encode a u32 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 EncodeU32BE<W> where
W: Send,
W: Send,
impl<W> Sync for EncodeU32BE<W> where
W: Sync,
W: Sync,