pub enum ProtocolRequest {
DoAction {
responder: ProtocolDoActionResponder,
},
}
Variants§
DoAction
Fields
§
responder: ProtocolDoActionResponder
Implementations§
Source§impl ProtocolRequest
impl ProtocolRequest
pub fn into_do_action(self) -> Option<ProtocolDoActionResponder>
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 ProtocolRequest
impl !RefUnwindSafe for ProtocolRequest
impl Send for ProtocolRequest
impl Sync for ProtocolRequest
impl Unpin for ProtocolRequest
impl !UnwindSafe for ProtocolRequest
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