[][src]Trait turbulence::buffer::BufferPool

pub trait BufferPool {
    type Buffer: Deref<Target = [u8]> + DerefMut;
    fn acquire(&self) -> Self::Buffer;
}

A trait for implementing PacketPool more easily using an allocator for statically sized buffers.

Associated Types

type Buffer: Deref<Target = [u8]> + DerefMut

Loading content...

Required methods

fn acquire(&self) -> Self::Buffer

Loading content...

Implementors

Loading content...