Struct tsukuyomi::server::transport::Listener   [−][src]
pub struct Listener { /* fields omitted */ }A wrapped I/O object representing a listener for incoming connections.
This object supports for listening by using TCP or Unix domain socket, with encryption using TLS.
Methods
impl Listener[src] 
impl Listenerpub fn builder() -> Builder[src] 
pub fn builder() -> BuilderCreates a builder object for constructing the value of a Listener.
pub fn poll_accept(&mut self) -> Poll<Handshake, Error>[src] 
pub fn poll_accept(&mut self) -> Poll<Handshake, Error>Attempts to accept a TCP or UDS connection in an asynchronous manner.
pub fn incoming(self) -> Incoming[src] 
pub fn incoming(self) -> IncomingCreates an instance of Incoming from this value.