pub enum ConnectorRequest {
Connect {
server: Channel,
control_handle: ConnectorControlHandle,
},
}
Expand description
A connector lets a client forward the server end of a protocol.
Variants§
Connect
Forward a server end of a protocol so that it can be connected.
- request
server
the server end of the protocol to be served. The FIDL protocol that this speaks is determined out-of-band.
- response This function has no response. The function is one-way to match the pipelining behaviors of other virtual filesystems.
Implementations§
Source§impl ConnectorRequest
impl ConnectorRequest
pub fn into_connect(self) -> Option<(Channel, ConnectorControlHandle)>
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 ConnectorRequest
impl !RefUnwindSafe for ConnectorRequest
impl Send for ConnectorRequest
impl Sync for ConnectorRequest
impl Unpin for ConnectorRequest
impl !UnwindSafe for ConnectorRequest
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