pub struct MlockedVec { /* private fields */ }Expand description
Variable-size memory-locked byte vector.
The contents are locked in memory to prevent swapping and automatically zeroized when dropped.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for MlockedVec
impl Freeze for MlockedVec
impl Move for MlockedVec
impl RefUnwindSafe for MlockedVec
impl Unpin for MlockedVec
impl UnsafeUnpin for MlockedVec
impl UnwindSafe for MlockedVec
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