pub struct PacketPool<const MTU: usize, const N: usize> { /* private fields */ }
Expand description
A packet pool holds a pool of packet buffers that can be dynamically allocated and free’d.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<const MTU: usize, const N: usize> !Freeze for PacketPool<MTU, N>
impl<const MTU: usize, const N: usize> !RefUnwindSafe for PacketPool<MTU, N>
impl<const MTU: usize, const N: usize> Send for PacketPool<MTU, N>
impl<const MTU: usize, const N: usize> !Sync for PacketPool<MTU, N>
impl<const MTU: usize, const N: usize> Unpin for PacketPool<MTU, N>
impl<const MTU: usize, const N: usize> UnwindSafe for PacketPool<MTU, N>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more