pub fn new(config: ServerConfig) -> Self {
        Acceptor {
            config: Arc::new(config),
            timeout: Duration::from_secs(5),
            io: PhantomData,
        }
    }
/// Create rustls based `Acceptor` service factory
Create rustls based `Acceptor` service factory
Create rustls based ` Acceptor ` service factory
pub fn new(config: ServerConfig) -> Self {
        Acceptor {
            config: Arc::new(config),
            timeout: Duration::from_secs(5),
            io: PhantomData,
        }
    }
pub fn new ( config : ServerConfig ) -> Self { Acceptor { config : Arc :: new ( config ) , timeout : Duration :: from_secs ( 5 ) , io : PhantomData , } }
Create rustls based `Acceptor` service factory
Create rustls based ` Acceptor ` service factory
config
ServerConfig