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

A source atop an octet string.

You can get a value of this type by calling OctetString::source.

Trait Implementations§

The error produced by the source. Read more
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
Takes a single octet from the source. Read more
Takes an optional octet from the source. 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

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.