pub enum DetectControllerRequest {
EnterTestMode {
test_controller: ServerEnd<TestCaseControllerMarker>,
responder: DetectControllerEnterTestModeResponder,
},
}
Expand description
Allows a test framework to invoke a special test mode and control program operations.
Variants§
EnterTestMode
Enter the test mode. Return when the program is ready and idle. If already in test mode, it will not return until the first test mode is exited by closing its test_controller client_end.
Fields
§
test_controller: ServerEnd<TestCaseControllerMarker>
§
responder: DetectControllerEnterTestModeResponder
Implementations§
Source§impl DetectControllerRequest
impl DetectControllerRequest
pub fn into_enter_test_mode( self, ) -> Option<(ServerEnd<TestCaseControllerMarker>, DetectControllerEnterTestModeResponder)>
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 DetectControllerRequest
impl !RefUnwindSafe for DetectControllerRequest
impl Send for DetectControllerRequest
impl Sync for DetectControllerRequest
impl Unpin for DetectControllerRequest
impl !UnwindSafe for DetectControllerRequest
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