pub enum ProtocolFactoryRequest {
CreateProtocol {
protocol: ServerEnd<ProtocolMarker>,
responder: ProtocolFactoryCreateProtocolResponder,
},
}
Variants§
CreateProtocol
Implementations§
Source§impl ProtocolFactoryRequest
impl ProtocolFactoryRequest
pub fn into_create_protocol( self, ) -> Option<(ServerEnd<ProtocolMarker>, ProtocolFactoryCreateProtocolResponder)>
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 ProtocolFactoryRequest
impl !RefUnwindSafe for ProtocolFactoryRequest
impl Send for ProtocolFactoryRequest
impl Sync for ProtocolFactoryRequest
impl Unpin for ProtocolFactoryRequest
impl !UnwindSafe for ProtocolFactoryRequest
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