Struct async_byteorder::EncodeI16Native
[−]
[src]
pub struct EncodeI16Native { /* fields omitted */ }
Encode a i16
in native byte order.
Trait Implementations
impl AsyncEncode for EncodeNative
[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 EncodeNative
[src]
fn remaining_bytes(&self) -> usize
[src]
Return the exact number of bytes this will still write.