Struct postcard_cobs::CobsEncoder[][src]

pub struct CobsEncoder<'a> { /* fields omitted */ }
Expand description

The CobsEncoder type is used to encode a stream of bytes to a given mutable output slice. This is often useful when heap data structures are not available, or when not all message bytes are received at a single point in time.

Implementations

Create a new streaming Cobs Encoder

Push a slice of data to be encoded

Complete encoding of the output message. Does NOT terminate the message with the sentinel value

Trait Implementations

Formats the value using the given formatter. Read more

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.