Struct varu64::nb::Encoder[][src]

pub struct Encoder { /* fields omitted */ }
Expand description

State for the nonblocking encoding.

Implementations

Create an encoder for encoding the given number.

Encode (potentially only parts of) the number into the output buffer. This returns how many bytes were written. If it returns zero even though the out buffer had non-zero length, the encoding process is done.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.