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