pub enum SystemControllerRequest {
Shutdown {
responder: SystemControllerShutdownResponder,
},
}
Expand description
An interface implemented by ComponentManager that requests the ComponentManager stop all components and exit.
Variants§
Shutdown
Stop all components, return an empty result, close this protocol’s channel, and exit ComponentManager. If this is the root ComponentManager is exited we expect the system will reboot.
Fields
§
responder: SystemControllerShutdownResponder
Implementations§
Source§impl SystemControllerRequest
impl SystemControllerRequest
pub fn into_shutdown(self) -> Option<SystemControllerShutdownResponder>
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 SystemControllerRequest
impl !RefUnwindSafe for SystemControllerRequest
impl Send for SystemControllerRequest
impl Sync for SystemControllerRequest
impl Unpin for SystemControllerRequest
impl !UnwindSafe for SystemControllerRequest
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