pub enum ProtocolARequest {
Foo {
responder: ProtocolAFooResponder,
},
}
Expand description
A discoverable protocol.
Variants§
Implementations§
Source§impl ProtocolARequest
impl ProtocolARequest
pub fn into_foo(self) -> Option<ProtocolAFooResponder>
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 ProtocolARequest
impl !RefUnwindSafe for ProtocolARequest
impl Send for ProtocolARequest
impl Sync for ProtocolARequest
impl Unpin for ProtocolARequest
impl !UnwindSafe for ProtocolARequest
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