Struct async_byteorder::EncodeI8
[−]
[src]
pub struct EncodeI8<W> { /* fields omitted */ }
Encode a i8
.
Trait Implementations
impl<W: AsyncWrite> AsyncEncode<W> for EncodeByte<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 EncodeByte<W>
[src]
fn remaining_bytes(&self) -> usize
[src]
Return the exact number of bytes this will still write. Read more