Skip to main content

TlsAsyncStream

Trait TlsAsyncStream 

Source
pub trait TlsAsyncStream:
    AsyncRead
    + AsyncWrite
    + Unpin
    + AsRawFd { }
Available on (crate features direct-tls or starttls) and crate feature ktls only.
Expand description

Trait alias for async streams that can be used with TLS.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§