[−][src]Trait tsukuyomi_server::Listener
A trait that represents the low-level I/O.
Associated Types
type Conn: AsyncRead + AsyncWrite
type Error: Into<Box<dyn Error + Send + Sync + 'static>>
type Incoming: Stream<Item = Self::Conn, Error = Self::Error>
Required methods
Loading content...Implementations on Foreign Types
impl Listener for SocketAddr[src]
impl Listener for SocketAddrtype Conn = TcpStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>impl<'a> Listener for &'a SocketAddr[src]
impl<'a> Listener for &'a SocketAddrtype Conn = TcpStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>impl Listener for TcpListener[src]
impl Listener for TcpListenertype Conn = TcpStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>impl Listener for TcpListener[src]
impl Listener for TcpListenertype Conn = TcpStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>impl Listener for PathBuf[src]
impl Listener for PathBuftype Conn = UnixStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>impl<'a> Listener for &'a PathBuf[src]
impl<'a> Listener for &'a PathBuftype Conn = UnixStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>impl<'a> Listener for &'a Path[src]
impl<'a> Listener for &'a Pathtype Conn = UnixStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>impl Listener for UnixListener[src]
impl Listener for UnixListenertype Conn = UnixStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>impl Listener for UnixListener[src]
impl Listener for UnixListenertype Conn = UnixStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>[src]
fn listen(self) -> Result<Self::Incoming>