pub struct PooledBuffer { /* private fields */ }Expand description
A buffer that automatically returns to the pool when dropped
Implementations§
Source§impl PooledBuffer
impl PooledBuffer
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PooledBuffer
impl !RefUnwindSafe for PooledBuffer
impl Send for PooledBuffer
impl Sync for PooledBuffer
impl Unpin for PooledBuffer
impl !UnwindSafe for PooledBuffer
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