mirror of
https://github.com/fafhrd91/actix-net
synced 2025-09-01 02:36:59 +02:00
add default type parameter
This commit is contained in:
@@ -15,7 +15,7 @@ use crate::{Io, Protocol, ServerConfig as SrvConfig};
|
||||
/// Support `SSL` connections via rustls package
|
||||
///
|
||||
/// `rust-tls` feature enables `RustlsAcceptor` type
|
||||
pub struct RustlsAcceptor<T, P> {
|
||||
pub struct RustlsAcceptor<T, P = ()> {
|
||||
config: Arc<ServerConfig>,
|
||||
io: PhantomData<(T, P)>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user