Struct actix_connect::ssl::rustls::RustlsConnector [−][src]
pub struct RustlsConnector<T, U> { /* fields omitted */ }
Expand description
Rustls connector factory
Implementations
Trait Implementations
impl<T: Address, U> ServiceFactory for RustlsConnector<T, U> where
U: AsyncRead + AsyncWrite + Unpin + Debug,
impl<T: Address, U> ServiceFactory for RustlsConnector<T, U> where
U: AsyncRead + AsyncWrite + Unpin + Debug,
type Request = Connection<T, U>
type Request = Connection<T, U>
Requests handled by the created services.
type Response = Connection<T, TlsStream<U>>
type Response = Connection<T, TlsStream<U>>
Responses given by the created services.
type Service = RustlsConnectorService<T, U>
type Service = RustlsConnectorService<T, U>
The kind of Service
created by this factory.
Create and return a new service 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, F, E> where
F: Fn(Self::InitError) -> E + Clone,
fn map_init_err<F, E>(self, f: F) -> MapInitErr<Self, 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<T, U> !RefUnwindSafe for RustlsConnector<T, U>
impl<T, U> Send for RustlsConnector<T, U> where
T: Send,
U: Send,
impl<T, U> Sync for RustlsConnector<T, U> where
T: Sync,
U: Sync,
impl<T, U> Unpin for RustlsConnector<T, U> where
T: Unpin,
U: Unpin,
impl<T, U> !UnwindSafe for RustlsConnector<T, U>
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Self
to a ServiceFactory