Struct ntex::tls::rustls::Acceptor [−][src]
pub struct Acceptor<F> { /* fields omitted */ }
Expand description
Support SSL
connections via rustls package
rust-tls
feature enables RustlsAcceptor
type
Implementations
Trait Implementations
Performs the conversion.
type Service = AcceptorService<F>
type Service = AcceptorService<F>
The Service
value created by this factory
type Future = Ready<<Acceptor<F> as ServiceFactory<Io<F>, C>>::Service, <Acceptor<F> as ServiceFactory<Io<F>, C>>::InitError>
type Future = Ready<<Acceptor<F> as ServiceFactory<Io<F>, C>>::Service, <Acceptor<F> as ServiceFactory<Io<F>, C>>::InitError>
The future of the ServiceFactory
instance.
Create and return a new service value asynchronously.
Map this service’s output to a different type, returning a new service of the resulting type. Read more
Map this service’s error to a different error, returning a new service.
fn map_init_err<F, E>(self, f: F) -> MapInitErr<Self, Req, Cfg, F, E> where
F: Fn(Self::InitError) -> E + Clone,
fn map_init_err<F, E>(self, f: F) -> MapInitErr<Self, Req, Cfg, F, E> where
F: Fn(Self::InitError) -> E + Clone,
Map this factory’s init error to a different error, returning a new service.
Auto Trait Implementations
impl<F> !RefUnwindSafe for Acceptor<F>
impl<F> !UnwindSafe for Acceptor<F>
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Self
to a ServiceFactory
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more