pub enum ResetRequest {
ShredEncryptedVolumes {
responder: ResetShredEncryptedVolumesResponder,
},
}
Expand description
Methods for resetting volumes, such as shredding user data.
Variants§
ShredEncryptedVolumes
Find the all zxcrypt partitions in fvm and replace the superblock and keys with random data, effectively shredding the contents. Calling this method on a filesystem that is currently running will not interrupt the current session, but it will not be able to open the data volume again, causing it to be reformatted on the next boot.
This is not cryptographically secure; the caller should take care to reset hardware keys.
Fields
§
responder: ResetShredEncryptedVolumesResponder
Implementations§
Source§impl ResetRequest
impl ResetRequest
pub fn into_shred_encrypted_volumes( self, ) -> Option<ResetShredEncryptedVolumesResponder>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResetRequest
impl !RefUnwindSafe for ResetRequest
impl Send for ResetRequest
impl Sync for ResetRequest
impl Unpin for ResetRequest
impl !UnwindSafe for ResetRequest
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