Struct actix_tls::connect::ConnectServiceFactory[][src]

pub struct ConnectServiceFactory { /* fields omitted */ }

Implementations

impl ConnectServiceFactory[src]

pub fn new(resolver: Resolver) -> Self[src]

Construct new ConnectService factory

pub fn service(&self) -> ConnectService[src]

Construct new service

Trait Implementations

impl Clone for ConnectServiceFactory[src]

impl<T: Address> ServiceFactory<Connect<T>> for ConnectServiceFactory[src]

type Response = Connection<T, TcpStream>

Responses given by the created services.

type Error = ConnectError

Errors produced by the created services.

type Config = ()

Service factory configuration.

type Service = ConnectService

The kind of Service created by this factory.

type InitError = ()

Errors potentially raised while building a service.

type Future = LocalBoxFuture<'static, Result<Self::Service, Self::InitError>>

The future of the Service instance.

Auto Trait Implementations

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<SF, Req> IntoServiceFactory<SF, Req> for SF where
    SF: ServiceFactory<Req>, 
[src]

impl<SF, Req> ServiceFactoryExt<Req> for SF where
    SF: ServiceFactory<Req>, 
[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.