1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-09-01 00:17:00 +02:00

standardize openssl based stream name

This commit is contained in:
Rob Ede
2021-02-20 18:04:05 +00:00
parent 7e483cc356
commit 8d74cf387d
5 changed files with 17 additions and 13 deletions

View File

@@ -18,7 +18,7 @@ pub use tokio_rustls::rustls::{ServerConfig, Session};
use super::MAX_CONN_COUNTER;
/// wrapper type for `tokio_openssl::SslStream` in order to impl `ActixStream` trait.
/// Wrapper type for `tokio_openssl::SslStream` in order to impl `ActixStream` trait.
pub struct TlsStream<T>(tokio_rustls::server::TlsStream<T>);
impl<T> From<tokio_rustls::server::TlsStream<T>> for TlsStream<T> {