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.

Associated Types

Required methods

Implementors