pub struct WithPosition<R> { /* private fields */ }
Expand description

Keep a record of the current position.

Constructed through Reader::with_position.

Trait Implementations

Error type raised by the current reader.

The position of the reader.

Skip over the given number of bytes.

Read a slice out of the current reader.

Read a slice into the given buffer.

Read a single byte.

Read an array out of the current reader.

Keep an accurate record of the position within the reader.

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.