Module uninit_tools::buffer[][src]

Buffers for single-buffer and vectored I/O which tracking initializedness and how much has been filled. Container types pointing to possibly-uninitialized memory such as Vec<MaybeUninit<Item>>, IoBox<Uninitialized>, or Box<[MaybeUninit<Item>]> can be transformed into their initialized variants via the Initialize trait, within requiring unsafe code.

This is an implementation of an API similar to what has been proposed in this RFC.

Structs

Buffer
BufferParts
BufferPartsMut
BufferRef

A reference to a Buffer, which is meant be a subset of the functionality offered by the fully owned buffer.