Struct libcryptsetup_rs::CryptLog
source · [−]pub struct CryptLog<'a> { /* private fields */ }
Expand description
Handle for logging operations
Implementations
sourceimpl<'a> CryptLog<'a>
impl<'a> CryptLog<'a>
sourcepub fn log(
&mut self,
level: CryptLogLevel,
msg: &str
) -> Result<(), LibcryptErr>
pub fn log(
&mut self,
level: CryptLogLevel,
msg: &str
) -> Result<(), LibcryptErr>
Generate a log entry
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptLog<'a>
impl<'a> !Send for CryptLog<'a>
impl<'a> !Sync for CryptLog<'a>
impl<'a> Unpin for CryptLog<'a>
impl<'a> !UnwindSafe for CryptLog<'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