pub struct Pooled<'a, T> { /* private fields */ }Expand description
A wrapper around a pooled object that returns it to the pool when dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Pooled<'a, T>where
T: Freeze,
impl<'a, T> !RefUnwindSafe for Pooled<'a, T>
impl<'a, T> Send for Pooled<'a, T>where
T: Send,
impl<'a, T> Sync for Pooled<'a, T>
impl<'a, T> Unpin for Pooled<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for Pooled<'a, 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