#[repr(transparent)]
pub struct IoSliceRaw<'a> { /* private fields */ }
Expand description

A buffer type used with vmsplice. It is guaranteed to be ABI compatible with the iovec type on Unix platforms and WSABUF on Windows. Unlike IoSlice and IoSliceMut it is semantically like a raw pointer, and therefore can be shared or mutated as needed.

Implementations

Creates a new IoSlice wrapping a byte slice.

Creates a new IoSlice wrapping a mutable byte slice.

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.