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:
@@ -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> {
|
||||
|
Reference in New Issue
Block a user