Struct async_byteorder::EncodeI32LE
[−]
[src]
pub struct EncodeI32LE(_);
Encode a i32
in little-endian byte order.
Trait Implementations
impl AsyncEncode for EncodeLE
[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 EncodeLE
[src]
fn remaining_bytes(&self) -> usize
[src]
Return the exact number of bytes this will still write.