pub struct U8Reader<'a> { /* private fields */ }
Expand description

a struct for Reader impls that can operate on units of u8.

Implementations

Trait Implementations

read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. Read more
read buf-many items from this reader in bulk. if Reader cannot read buf-many items, return ReadError::ExhaustedInput. Read more
mark the current position as where to measure offset against.
the difference, in Address, between the current Reader position and its last mark. when created, a Reader’s initial position is marked, so creating a Reader and immediately calling offset() must return Address::zero(). Read more
the difference, in Address, between the current Reader position and the initial offset when constructed. 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.