pub struct BuffersPool<K: Copy> { /* private fields */ }Implementations§
Source§impl<K: Copy> BuffersPool<K>
impl<K: Copy> BuffersPool<K>
pub async fn new(slot_id: K, pool_size: usize, buffer_size: usize) -> Self
pub fn borrower(&self) -> BufferBorrower<K>
pub fn redeemer(&self) -> BufferRedeemer<K>
Auto Trait Implementations§
impl<K> Freeze for BuffersPool<K>where
K: Freeze,
impl<K> !RefUnwindSafe for BuffersPool<K>
impl<K> Send for BuffersPool<K>where
K: Send,
impl<K> Sync for BuffersPool<K>where
K: Sync,
impl<K> Unpin for BuffersPool<K>where
K: Unpin,
impl<K> !UnwindSafe for BuffersPool<K>
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