pub enum ExitControllerRequest {
Exit {
code: i32,
control_handle: ExitControllerControlHandle,
},
}
Variants§
Exit
Implementations§
Source§impl ExitControllerRequest
impl ExitControllerRequest
pub fn into_exit(self) -> Option<(i32, ExitControllerControlHandle)>
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 ExitControllerRequest
impl !RefUnwindSafe for ExitControllerRequest
impl Send for ExitControllerRequest
impl Sync for ExitControllerRequest
impl Unpin for ExitControllerRequest
impl !UnwindSafe for ExitControllerRequest
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