pub struct ObjectPool<T> { /* private fields */ }
Expand description
Thread-safe object pool for reusable data structures
Implementations§
Source§impl<T> ObjectPool<T>
impl<T> ObjectPool<T>
Auto Trait Implementations§
impl<T> !Freeze for ObjectPool<T>
impl<T> !RefUnwindSafe for ObjectPool<T>
impl<T> Send for ObjectPool<T>where
T: Send,
impl<T> Sync for ObjectPool<T>where
T: Send,
impl<T> Unpin for ObjectPool<T>
impl<T> !UnwindSafe for ObjectPool<T>
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