Struct gopher_core::proto::GopherServer
[−]
[src]
pub struct GopherServer;
Trait Implementations
impl<T: Io + 'static> ServerProto<T> for GopherServer
[src]
type Request = GopherRequest
For this protocol style, Request
matches the codec In
type
type Response = GopherResponse
For this protocol style, Response
matches the coded Out
type
type Transport = Take<Framed<T, Server>>
A bit of boilerplate to hook in the codec:
type BindTransport = Result<Self::Transport, Error>
A future for initializing a transport from an I/O object. Read more
fn bind_transport(&self, io: T) -> Self::BindTransport
Build a transport from the given I/O object, using self
for any configuration. Read more