pub enum CrasherRequest {
Ping {
responder: CrasherPingResponder,
},
Crash {
control_handle: CrasherControlHandle,
},
}
Variants§
Ping
Returns a number that is unique per instance of the driver.
Fields
§
responder: CrasherPingResponder
Crash
One way call that will assert false and kill the host process.
Fields
§
control_handle: CrasherControlHandle
Implementations§
Source§impl CrasherRequest
impl CrasherRequest
pub fn into_ping(self) -> Option<CrasherPingResponder>
pub fn into_crash(self) -> Option<CrasherControlHandle>
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 CrasherRequest
impl !RefUnwindSafe for CrasherRequest
impl Send for CrasherRequest
impl Sync for CrasherRequest
impl Unpin for CrasherRequest
impl !UnwindSafe for CrasherRequest
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