pub enum MockRebootControllerRequest {
TriggerReboot {
responder: MockRebootControllerTriggerRebootResponder,
},
CrashRebootChannel {
responder: MockRebootControllerCrashRebootChannelResponder,
},
}
Variants§
Implementations§
Source§impl MockRebootControllerRequest
impl MockRebootControllerRequest
pub fn into_trigger_reboot( self, ) -> Option<MockRebootControllerTriggerRebootResponder>
pub fn into_crash_reboot_channel( self, ) -> Option<MockRebootControllerCrashRebootChannelResponder>
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 MockRebootControllerRequest
impl !RefUnwindSafe for MockRebootControllerRequest
impl Send for MockRebootControllerRequest
impl Sync for MockRebootControllerRequest
impl Unpin for MockRebootControllerRequest
impl !UnwindSafe for MockRebootControllerRequest
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