Struct libcryptsetup_rs::CryptFormatHandle
source · pub struct CryptFormatHandle<'a> { /* private fields */ }
Expand description
Handle for format operations on a device
Implementations§
source§impl<'a> CryptFormatHandle<'a>
impl<'a> CryptFormatHandle<'a>
sourcepub fn get_type(&mut self) -> Result<EncryptionFormat, LibcryptErr>
pub fn get_type(&mut self) -> Result<EncryptionFormat, LibcryptErr>
Get the formatting type
sourcepub fn get_default_type() -> Result<EncryptionFormat, LibcryptErr>
pub fn get_default_type() -> Result<EncryptionFormat, LibcryptErr>
Get the default formatting type
Auto Trait Implementations§
impl<'a> Freeze for CryptFormatHandle<'a>
impl<'a> RefUnwindSafe for CryptFormatHandle<'a>
impl<'a> !Send for CryptFormatHandle<'a>
impl<'a> !Sync for CryptFormatHandle<'a>
impl<'a> Unpin for CryptFormatHandle<'a>
impl<'a> !UnwindSafe for CryptFormatHandle<'a>
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