Struct heph::net::MaybeUninitSlice[][src]

#[repr(transparent)]
pub struct MaybeUninitSlice<'a>(_);
Expand description

A version of IoSliceMut that allows the buffer to be uninitialised.

Implementations

Creates a new MaybeUninitSlice wrapping a byte slice.

Panics

Panics on Windows if the slice is larger than 4GB.

Creates a new MaybeUninitSlice from a Vector.

Similar to the Bytes implementation for Vec<u8> this only uses the uninitialised capacity of the vector.

Panics

Panics on Windows if the vector’s uninitialised capacity is larger than 4GB.

Trait Implementations

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

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

Performs the conversion.

Performs the conversion.

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.