pub enum RunnerRequest {
GetVersion {
responder: RunnerGetVersionResponder,
},
CheckAlive {
responder: RunnerCheckAliveResponder,
},
Start {
test: Test,
any_target: AnyTarget,
responder: RunnerStartResponder,
},
ShutdownWithEpitaph {
epitaph_status: i32,
responder: RunnerShutdownWithEpitaphResponder,
},
SendOpenTargetStrictEvent {
responder: RunnerSendOpenTargetStrictEventResponder,
},
SendOpenTargetFlexibleEvent {
responder: RunnerSendOpenTargetFlexibleEventResponder,
},
}
Variants§
GetVersion
Fields
§
responder: RunnerGetVersionResponder
CheckAlive
Fields
§
responder: RunnerCheckAliveResponder
Start
ShutdownWithEpitaph
SendOpenTargetStrictEvent
Fields
§
responder: RunnerSendOpenTargetStrictEventResponder
SendOpenTargetFlexibleEvent
Fields
§
responder: RunnerSendOpenTargetFlexibleEventResponder
Implementations§
Source§impl RunnerRequest
impl RunnerRequest
pub fn into_get_version(self) -> Option<RunnerGetVersionResponder>
pub fn into_check_alive(self) -> Option<RunnerCheckAliveResponder>
pub fn into_start(self) -> Option<(Test, AnyTarget, RunnerStartResponder)>
pub fn into_shutdown_with_epitaph( self, ) -> Option<(i32, RunnerShutdownWithEpitaphResponder)>
pub fn into_send_open_target_strict_event( self, ) -> Option<RunnerSendOpenTargetStrictEventResponder>
pub fn into_send_open_target_flexible_event( self, ) -> Option<RunnerSendOpenTargetFlexibleEventResponder>
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 RunnerRequest
impl !RefUnwindSafe for RunnerRequest
impl Send for RunnerRequest
impl Sync for RunnerRequest
impl Unpin for RunnerRequest
impl !UnwindSafe for RunnerRequest
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