pub trait ConnectorServerHandler<___T: Transport> {
// Required method
fn connect(
&mut self,
sender: &ServerSender<Connector, ___T>,
request: Request<Connect, ___T>,
);
}
Expand description
A server handler for the Connector protocol.
See Connector
for more details.
Required Methods§
Sourcefn connect(
&mut self,
sender: &ServerSender<Connector, ___T>,
request: Request<Connect, ___T>,
)
fn connect( &mut self, sender: &ServerSender<Connector, ___T>, request: Request<Connect, ___T>, )
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.