pub struct Encoder { /* fields omitted */ }
Expand description
State for the nonblocking encoding.
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.
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.