Trait warp::transport::Transport

source ·
pub trait Transport: AsyncRead + AsyncWrite {
    // Required method
    fn remote_addr(&self) -> Option<SocketAddr>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl Transport for AddrStream

Implementors§