pub enum ControlRequest {
SetSuspendEnterResult {
status: i32,
responder: ControlSetSuspendEnterResultResponder,
},
GetState {
responder: ControlGetStateResponder,
},
}
Variants§
SetSuspendEnterResult
Set the status that the fixture returns on a return from zx_system_suspend_enter.
GetState
Gets the internal state of the instrumented driver.
Fields
§
responder: ControlGetStateResponder
Implementations§
Source§impl ControlRequest
impl ControlRequest
pub fn into_set_suspend_enter_result( self, ) -> Option<(i32, ControlSetSuspendEnterResultResponder)>
pub fn into_get_state(self) -> Option<ControlGetStateResponder>
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 ControlRequest
impl !RefUnwindSafe for ControlRequest
impl Send for ControlRequest
impl Sync for ControlRequest
impl Unpin for ControlRequest
impl !UnwindSafe for ControlRequest
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