pub trait DualTransportHandler<L, R> {
// Required method
fn call(
&self,
request: RequestPacket,
left: L,
right: R,
) -> TransportFut<'static>;
}
Expand description
Trait that determines how to dispatch a request given two transports.
Required Methods§
Sourcefn call(
&self,
request: RequestPacket,
left: L,
right: R,
) -> TransportFut<'static>
fn call( &self, request: RequestPacket, left: L, right: R, ) -> TransportFut<'static>
The type of the future returned by the transport.