[][src]Struct actori_connect::ssl::openssl::OpensslConnector

pub struct OpensslConnector<T, U> { /* fields omitted */ }

Openssl connector factory

Methods

impl<T, U> OpensslConnector<T, U>[src]

pub fn new(connector: SslConnector) -> Self[src]

impl<T, U> OpensslConnector<T, U> where
    T: Address + 'static,
    U: AsyncRead + AsyncWrite + Unpin + Debug + 'static, 
[src]

Trait Implementations

impl<T, U> Clone for OpensslConnector<T, U>[src]

impl<T, U> ServiceFactory for OpensslConnector<T, U> where
    T: Address + 'static,
    U: AsyncRead + AsyncWrite + Unpin + Debug + 'static, 
[src]

type Request = Connection<T, U>

Requests handled by the service.

type Response = Connection<T, SslStream<U>>

Responses given by the service

type Error = Error

Errors produced by the service

type Config = ()

Service factory configuration

type Service = OpensslConnectorService<T, U>

The Service value created by this factory

type InitError = ()

Errors produced while building a service.

type Future = Ready<Result<Self::Service, Self::InitError>>

The future of the Service instance.

Auto Trait Implementations

impl<T, U> RefUnwindSafe for OpensslConnector<T, U> where
    T: RefUnwindSafe,
    U: RefUnwindSafe

impl<T, U> Send for OpensslConnector<T, U> where
    T: Send,
    U: Send

impl<T, U> Sync for OpensslConnector<T, U> where
    T: Sync,
    U: Sync

impl<T, U> Unpin for OpensslConnector<T, U> where
    T: Unpin,
    U: Unpin

impl<T, U> UnwindSafe for OpensslConnector<T, U> where
    T: UnwindSafe,
    U: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoServiceFactory<T> for T where
    T: ServiceFactory
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,