Trait ConnectorServerHandler

Source
pub trait ConnectorServerHandler<___T: Transport> {
    // Required method
    fn connect(
        &mut self,
        sender: &ServerSender<___T, Connector>,
        request: RequestBuffer<___T, Connect>,
    );
}
Expand description

A server handler for the Connector protocol.

See Connector for more details.

Required Methods§

Source

fn connect( &mut self, sender: &ServerSender<___T, Connector>, request: RequestBuffer<___T, 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.

Implementors§