[][src]Struct actix_service::dev::UnitConfig

pub struct UnitConfig<SF, Cfg, Req> { /* fields omitted */ }

unit_config() config combinator

Trait Implementations

impl<SF, Cfg, Req> Clone for UnitConfig<SF, Cfg, Req> where
    SF: Clone
[src]

impl<SF, Cfg, Req> ServiceFactory<Req> for UnitConfig<SF, Cfg, Req> where
    SF: ServiceFactory<Req, Config = ()>, 
[src]

type Response = SF::Response

Responses given by the created services.

type Error = SF::Error

Errors produced by the created services.

type Config = Cfg

Service factory configuration.

type Service = SF::Service

The kind of Service created by this factory.

type InitError = SF::InitError

Errors potentially raised while building a service.

type Future = SF::Future

The future of the Service instance.

Auto Trait Implementations

impl<SF, Cfg, Req> Send for UnitConfig<SF, Cfg, Req> where
    Cfg: Send,
    Req: Send,
    SF: Send
[src]

impl<SF, Cfg, Req> Sync for UnitConfig<SF, Cfg, Req> where
    Cfg: Sync,
    Req: Sync,
    SF: Sync
[src]

impl<SF, Cfg, Req> Unpin for UnitConfig<SF, Cfg, Req> where
    Cfg: Unpin,
    Req: Unpin,
    SF: Unpin
[src]

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<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.