pub struct OctetStringSource { /* private fields */ }
Expand description

A decode source atop an octet string.

Trait Implementations

The error produced when the source failed to read more data.

Returns the current logical postion within the sequence of data.

Request at least len bytes to be available. Read more

Advance the source by len bytes. Read more

Returns a bytes slice with the available data. Read more

Produces a Bytes value from part of the data. Read more

Skip over the next len bytes. Read more

Takes a single octet from the source. Read more

Takes an optional octet from the source. Read more

Returns a content error at the current position of the source.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.