Struct libcryptsetup_rs::SafeMemHandle
source · pub struct SafeMemHandle(/* private fields */);
Expand description
Handle to allocated memory from libcryptsetup
Implementations§
Trait Implementations§
source§impl AsMut<[u8]> for SafeMemHandle
impl AsMut<[u8]> for SafeMemHandle
source§impl AsRef<[u8]> for SafeMemHandle
impl AsRef<[u8]> for SafeMemHandle
source§impl Drop for SafeMemHandle
impl Drop for SafeMemHandle
source§impl SafeMemzero for SafeMemHandle
impl SafeMemzero for SafeMemHandle
source§fn safe_memzero(&mut self)
fn safe_memzero(&mut self)
Zero the data in the buffer. To enable managed zeroing of a buffer,
call this in a
Drop
implementation.impl Send for SafeMemHandle
Auto Trait Implementations§
impl RefUnwindSafe for SafeMemHandle
impl !Sync for SafeMemHandle
impl Unpin for SafeMemHandle
impl UnwindSafe for SafeMemHandle
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