pub enum AdminRequest {
Shutdown {
responder: AdminShutdownResponder,
},
}
Expand description
Administration functionality for filesystems.
Variants§
Shutdown
Shuts down the filesystem. Once the filesystem receives the shutdown request, it will complete any active requests before terminating, but will not respond to new requests. This call blocks until all open connections to the filesystem are terminated and any underlying block devices or other owned channels are released, then it responds to this request and closes this channel.
Fields
§
responder: AdminShutdownResponder
Implementations§
Source§impl AdminRequest
impl AdminRequest
pub fn into_shutdown(self) -> Option<AdminShutdownResponder>
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