Struct varu64::Encode [] [src]

pub struct Encode<W> { /* fields omitted */ }

A future for encoding a u64 into an AsyncWrite.

Methods

impl<W> Encode<W>
[src]

[src]

Create a new Encode future for encoding the given u64 into the given W.

Trait Implementations

impl<W: AsyncWrite> Future for Encode<W>
[src]

The wrapped W, and how many bytes were written into the W.

Propagated from writing, or an error of kind "WriteZero" if a call to poll_write returned 0 even though not all data has been written.

[src]

Note that this does not flush or close the wrapped W.

Auto Trait Implementations

impl<W> Send for Encode<W> where
    W: Send

impl<W> Sync for Encode<W> where
    W: Sync