pub struct BufferPool { /* private fields */ }Expand description
Thread-local result buffer for reducing allocations Each tokio task gets its own buffer to avoid contention
Implementations§
Source§impl BufferPool
impl BufferPool
Auto Trait Implementations§
impl !RefUnwindSafe for BufferPool
impl !UnwindSafe for BufferPool
impl Freeze for BufferPool
impl Send for BufferPool
impl Sync for BufferPool
impl Unpin for BufferPool
impl UnsafeUnpin for BufferPool
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