Trait turbulence::buffer::BufferPool
source · [−]pub trait BufferPool {
type Buffer: Deref<Target = [u8]> + DerefMut;
fn acquire(&self) -> Self::Buffer;
}
Expand description
A trait for implementing PacketPool
more easily using an allocator for statically sized buffers.