Struct varu64::Encode [] [src]

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

An AsyncEncode for encoding a VarU64.

Methods

impl<W> Encode<W>
[src]

[src]

Create a new Encoder for dencoding a VarU64.

Trait Implementations

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

[src]

Call writer.poll_write exactly once with encoded data, propagating any Err and Pending, and returning how many bytes were written. Read more

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

[src]

Return the exact number of bytes this will still write.

Auto Trait Implementations

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

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