pub struct LockedBuf { /* private fields */ }
Expand description
Buffer with fixed capacity, locked to RAM. It prevents memory from being paged to the swap area
This is required to work with AIO operations.
Implementations§
Trait Implementations§
impl Send for LockedBuf
impl Sync for LockedBuf
Auto Trait Implementations§
impl Freeze for LockedBuf
impl !RefUnwindSafe for LockedBuf
impl Unpin for LockedBuf
impl !UnwindSafe for LockedBuf
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