[−][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 SocketAddr
type 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 SocketAddr
type 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 TcpListener
type 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 TcpListener
type 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 PathBuf
type 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 PathBuf
type 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 Path
type 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 UnixListener
type 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 UnixListener
type Conn = UnixStream
type Error = Error
type Incoming = Incoming
fn listen(self) -> Result<Self::Incoming>
[src]
fn listen(self) -> Result<Self::Incoming>