pub enum TriggerRequest {
Run {
responder: TriggerRunResponder,
},
}
Expand description
Simple FIDL protocol for tests that allows triggering an action.
Variants§
Run
Triggers some action, returning a string encoding the result.
Fields
§
responder: TriggerRunResponder
Implementations§
Source§impl TriggerRequest
impl TriggerRequest
pub fn into_run(self) -> Option<TriggerRunResponder>
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 TriggerRequest
impl !RefUnwindSafe for TriggerRequest
impl Send for TriggerRequest
impl Sync for TriggerRequest
impl Unpin for TriggerRequest
impl !UnwindSafe for TriggerRequest
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