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

Wraps the kernel’s struct iov_iter.

Invariants

The pointer IovIter::ptr is non-null and valid.

Trait Implementations

Returns the number of bytes left to be read from the io buffer. Read more

Reads raw data from the io buffer into a raw kernel buffer. Read more

Returns true if no data is available in the io buffer.

Reads all data remaining in the io buffer. Read more

Reads a byte slice from the io buffer. Read more

Reads the contents of a plain old data (POD) type from the io buffer.

Returns the number of bytes left to be written into the io buffer. Read more

Writes zeroes to the io buffer. Read more

Writes raw data to the io buffer from a raw kernel buffer. Read more

Returns true if the io buffer cannot hold any additional data.

Writes a byte slice into the io buffer. Read more

Writes the contents of the given data into the io buffer.

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.