pub enum TestAppStatusListenerRequest {
ReportStatus {
status: TestAppStatus,
responder: TestAppStatusListenerReportStatusResponder,
},
_UnknownMethod {
ordinal: u64,
control_handle: TestAppStatusListenerControlHandle,
method_type: MethodType,
},
}
Expand description
Test suites depend on test app status can listen to this listener.
Variants§
ReportStatus
Notify that the test app is ready to receive input events.
Test app authors should call this method when they are ready to process input events.
Test suites should wait for this call before injecting input events.
_UnknownMethod
An interaction was received which does not match any known method.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
control_handle: TestAppStatusListenerControlHandle
§
method_type: MethodType
Implementations§
Source§impl TestAppStatusListenerRequest
impl TestAppStatusListenerRequest
pub fn into_report_status( self, ) -> Option<(TestAppStatus, TestAppStatusListenerReportStatusResponder)>
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 TestAppStatusListenerRequest
impl !RefUnwindSafe for TestAppStatusListenerRequest
impl Send for TestAppStatusListenerRequest
impl Sync for TestAppStatusListenerRequest
impl Unpin for TestAppStatusListenerRequest
impl !UnwindSafe for TestAppStatusListenerRequest
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