pub enum ShutdownerRequest {
Shutdown {
control_handle: ShutdownerControlHandle,
},
}
Expand description
Simple FIDL protocol for tests that notifies server to shutdown.
Variants§
Shutdown
Fields
§
control_handle: ShutdownerControlHandle
Implementations§
Source§impl ShutdownerRequest
impl ShutdownerRequest
pub fn into_shutdown(self) -> Option<ShutdownerControlHandle>
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 ShutdownerRequest
impl !RefUnwindSafe for ShutdownerRequest
impl Send for ShutdownerRequest
impl Sync for ShutdownerRequest
impl Unpin for ShutdownerRequest
impl !UnwindSafe for ShutdownerRequest
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