Struct libcryptsetup_rs::CryptFormat
source · [−]pub struct CryptFormat<'a> { /* private fields */ }
Expand description
Handle for format operations on a device
Implementations
sourceimpl<'a> CryptFormat<'a>
impl<'a> CryptFormat<'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> RefUnwindSafe for CryptFormat<'a>
impl<'a> !Send for CryptFormat<'a>
impl<'a> !Sync for CryptFormat<'a>
impl<'a> Unpin for CryptFormat<'a>
impl<'a> !UnwindSafe for CryptFormat<'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