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