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