pub enum AdminRequest {
ShredDataVolume {
responder: AdminShredDataVolumeResponder,
},
StorageHostEnabled {
responder: AdminStorageHostEnabledResponder,
},
}
Expand description
Manages fshost lifecycle
Variants§
ShredDataVolume
Wipes the data volume which will get reinitialised upon next boot. This is not cryptographically secure; the caller should take care to reset hardware keys.
Fields
§
responder: AdminShredDataVolumeResponder
StorageHostEnabled
Returns whether fshost is configured to use storage-host.
Fields
§
responder: AdminStorageHostEnabledResponder
Implementations§
Source§impl AdminRequest
impl AdminRequest
pub fn into_shred_data_volume(self) -> Option<AdminShredDataVolumeResponder>
pub fn into_storage_host_enabled( self, ) -> Option<AdminStorageHostEnabledResponder>
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 AdminRequest
impl !RefUnwindSafe for AdminRequest
impl Send for AdminRequest
impl Sync for AdminRequest
impl Unpin for AdminRequest
impl !UnwindSafe for AdminRequest
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