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