pub struct RecordPool { /* private fields */ }Expand description
A thread-safe pool of reusable Record objects
Implementations§
Source§impl RecordPool
impl RecordPool
Sourcepub fn acquire(&self) -> PooledRecord
pub fn acquire(&self) -> PooledRecord
Acquire a record from the pool or create a new one
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecordPool
impl !RefUnwindSafe for RecordPool
impl Send for RecordPool
impl Sync for RecordPool
impl Unpin for RecordPool
impl !UnwindSafe for RecordPool
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