pub enum TestRequest {
Ping {
responder: TestPingResponder,
},
Disconnect {
responder: TestDisconnectResponder,
},
}
Variants§
Implementations§
source§impl TestRequest
impl TestRequest
pub fn into_ping(self) -> Option<TestPingResponder>
pub fn into_disconnect(self) -> Option<TestDisconnectResponder>
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 TestRequest
impl !RefUnwindSafe for TestRequest
impl Send for TestRequest
impl Sync for TestRequest
impl Unpin for TestRequest
impl !UnwindSafe for TestRequest
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