Skip to main content

TlsAsyncStream

Trait TlsAsyncStream 

Source
pub trait TlsAsyncStream:
    AsyncRead
    + AsyncWrite
    + Unpin
    + AsRawFd { }
Available on crate feature ktls and (crate features direct-tls or starttls) 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§