Struct libcryptsetup_rs::CryptRuntime
source · [−]pub struct CryptRuntime<'a> { /* private fields */ }
Expand description
Handle for runtime attribute options
Implementations
sourceimpl<'a> CryptRuntime<'a>
impl<'a> CryptRuntime<'a>
sourcepub fn get_active_device(&mut self) -> Result<ActiveDevice, LibcryptErr>
pub fn get_active_device(&mut self) -> Result<ActiveDevice, LibcryptErr>
Get active crypt device attributes
sourcepub fn get_active_integrity_failures(&mut self) -> Result<u64, LibcryptErr>
pub fn get_active_integrity_failures(&mut self) -> Result<u64, LibcryptErr>
Get detected number of integrity failures
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptRuntime<'a>
impl<'a> !Send for CryptRuntime<'a>
impl<'a> !Sync for CryptRuntime<'a>
impl<'a> Unpin for CryptRuntime<'a>
impl<'a> !UnwindSafe for CryptRuntime<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more