pub struct Pool<T, const N: usize, P: Copy = ()> { /* private fields */ }Expand description
One inline slot owner with available and pending FIFO lists.
Implementations§
Auto Trait Implementations§
impl<T, const N: usize, P = ()> !Freeze for Pool<T, N, P>
impl<T, const N: usize, P = ()> !RefUnwindSafe for Pool<T, N, P>
impl<T, const N: usize, P = ()> !Send for Pool<T, N, P>
impl<T, const N: usize, P = ()> !Sync for Pool<T, N, P>
impl<T, const N: usize, P> Unpin for Pool<T, N, P>
impl<T, const N: usize, P> UnsafeUnpin for Pool<T, N, P>
impl<T, const N: usize, P> UnwindSafe for Pool<T, N, P>
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