[−][src]Trait fizyr_rpc::ServerListener
Helper trait for Server
.
This trait encapsulates all requirements for the Listener
type of a Server
.
The trait has a blanket implementation, so you can not implement it for your own types.
You can use it as trait bound for generic arguments, but you should not rely on any of the items in this trait.
Implementors
impl<Listener> ServerListener for Listener where
Listener: Listener + Unpin,
Listener::Connection: IntoTransport,
[src]
Listener: Listener + Unpin,
Listener::Connection: IntoTransport,
type Body = <Listener::Connection as IntoTransport>::Body
type Config = <Listener::Connection as IntoTransport>::Config
type Transport = <Listener::Connection as IntoTransport>::Transport
fn spawn(
connection: Self::Connection,
config: Self::Config
) -> PeerHandle<Self::Body>
[src]
connection: Self::Connection,
config: Self::Config
) -> PeerHandle<Self::Body>