AsyncStream

Trait AsyncStream 

Source
pub trait AsyncStream:
    AsyncRead
    + AsyncWrite
    + Unpin
    + Send { }
Expand description

Trait for async streams that can be used for NNTP connections

This trait is automatically implemented for any type that implements AsyncRead + AsyncWrite + Unpin + Send, making it easy to support different connection types (TCP, TLS, etc.).

Implementors§

Source§

impl<T> AsyncStream for T
where T: AsyncRead + AsyncWrite + Unpin + Send,