Trait darkfi::net::transport::PtStream

source ·
pub trait PtStream: AsyncRead + AsyncWrite + Unpin + Send { }
Expand description

Wrapper trait for async streams

Implementations on Foreign Types§

source§

impl PtStream for DataStream

source§

impl PtStream for TcpStream

source§

impl PtStream for TlsStream<DataStream>

source§

impl PtStream for TlsStream<TcpStream>

source§

impl PtStream for UnixStream

Implementors§