pub struct Pooled<T: Default + Reuse + 'static> { /* private fields */ }
Expand description
A value borrowed from the Pool
that can be dereferenced to T
.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Pooled<T>where
T: Freeze,
impl<T> RefUnwindSafe for Pooled<T>where
T: RefUnwindSafe,
impl<T> Send for Pooled<T>where
T: Send,
impl<T> Sync for Pooled<T>
impl<T> Unpin for Pooled<T>where
T: Unpin,
impl<T> UnwindSafe for Pooled<T>where
T: UnwindSafe,
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