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]

Creates a builder object for constructing the value of a Listener.

Attempts to accept a TCP or UDS connection in an asynchronous manner.

Creates an instance of Incoming from this value.

Trait Implementations

impl Debug for Listener
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Listener

impl Sync for Listener