pub trait LayoutBufferAlloc<O> {
type Error;
// Required method
fn layout_alloc(
self,
prefix: usize,
body: usize,
suffix: usize,
) -> Result<O, Self::Error>;
}
Expand description
A variant of BufferAlloc
that allocates buffers with the necessary
prefix, body, suffix layout.
Required Associated Types§
Sourcetype Error
type Error
The type of errors returned from layout_alloc
.