Struct actix_net::ssl::OpensslAcceptor [−][src]
pub struct OpensslAcceptor<T> { /* fields omitted */ }Support SSL connections via openssl package
ssl feature enables OpensslAcceptor type
Methods
impl<T> OpensslAcceptor<T>[src]
impl<T> OpensslAcceptor<T>pub fn new(acceptor: SslAcceptor) -> Self[src]
pub fn new(acceptor: SslAcceptor) -> SelfCreate default OpensslAcceptor
Trait Implementations
impl<T: AsyncRead + AsyncWrite> Clone for OpensslAcceptor<T>[src]
impl<T: AsyncRead + AsyncWrite> Clone for OpensslAcceptor<T>fn clone(&self) -> Self[src]
fn clone(&self) -> SelfReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<T: AsyncRead + AsyncWrite> NewService for OpensslAcceptor<T>[src]
impl<T: AsyncRead + AsyncWrite> NewService for OpensslAcceptor<T>type Request = T
Requests handled by the service
type Response = SslStream<T>
Responses given by the service
type Error = Error
Errors produced by the service
type Service = OpensslAcceptorService<T>
The Service value created by this factory
type InitError = ()
Errors produced while building a service.
type Future = FutureResult<Self::Service, Self::InitError>
The future of the Service instance.
fn new_service(&self) -> Self::Future[src]
fn new_service(&self) -> Self::FutureCreate and return a new service value asynchronously.
Auto Trait Implementations
impl<T> Send for OpensslAcceptor<T> where
T: Send,
impl<T> Send for OpensslAcceptor<T> where
T: Send, impl<T> Sync for OpensslAcceptor<T> where
T: Sync,
impl<T> Sync for OpensslAcceptor<T> where
T: Sync,