pub enum SessionContextRequest {
Restart {
control_handle: SessionContextControlHandle,
},
RestartDueToCriticalFailure {
control_handle: SessionContextControlHandle,
},
}
Expand description
This interface is provided by basemgr to Sessionmgr
.
Variants§
Restart
Fields
§
control_handle: SessionContextControlHandle
Restarts the session.
RestartDueToCriticalFailure
Fields
§
control_handle: SessionContextControlHandle
Restarts the session due to an unrecoverable error. This may reboot the device.
Implementations§
source§impl SessionContextRequest
impl SessionContextRequest
pub fn into_restart(self) -> Option<SessionContextControlHandle>
pub fn into_restart_due_to_critical_failure( self ) -> Option<SessionContextControlHandle>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL