Struct libcryptsetup_rs::CryptBackup
source · [−]pub struct CryptBackup<'a> { /* private fields */ }
Expand description
Handle for backup operations on a device
Implementations
sourceimpl<'a> CryptBackup<'a>
impl<'a> CryptBackup<'a>
sourcepub fn header_backup(
&mut self,
requested_type: Option<EncryptionFormat>,
backup_file: &Path
) -> Result<(), LibcryptErr>
pub fn header_backup(
&mut self,
requested_type: Option<EncryptionFormat>,
backup_file: &Path
) -> Result<(), LibcryptErr>
Back up header and keyslots to a file
sourcepub fn header_restore(
&mut self,
requested_type: Option<EncryptionFormat>,
backup_file: &Path
) -> Result<(), LibcryptErr>
pub fn header_restore(
&mut self,
requested_type: Option<EncryptionFormat>,
backup_file: &Path
) -> Result<(), LibcryptErr>
Restore header and keyslots from a file
Auto Trait Implementations
impl<'a> RefUnwindSafe for CryptBackup<'a>
impl<'a> !Send for CryptBackup<'a>
impl<'a> !Sync for CryptBackup<'a>
impl<'a> Unpin for CryptBackup<'a>
impl<'a> !UnwindSafe for CryptBackup<'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