Struct keiro::MakeRouterService[][src]

pub struct MakeRouterService<Svc> {
    pub inner: Svc,
}

Fields

inner: Svc

Trait Implementations

impl<T, Svc> Service<T> for MakeRouterService<Svc> where
    Svc: Service<Request<Body>> + Clone,
    Svc::Response: 'static,
    Svc::Error: Into<Box<dyn StdError + Send + Sync>> + 'static,
    Svc::Future: 'static, 
[src]

type Response = Svc

Responses given by the service.

type Error = Box<dyn StdError + Send + Sync>

Errors produced by the service.

type Future = Ready<Result<Self::Response>>

The future response value.

Auto Trait Implementations

impl<Svc> RefUnwindSafe for MakeRouterService<Svc> where
    Svc: RefUnwindSafe

impl<Svc> Send for MakeRouterService<Svc> where
    Svc: Send

impl<Svc> Sync for MakeRouterService<Svc> where
    Svc: Sync

impl<Svc> Unpin for MakeRouterService<Svc> where
    Svc: Unpin

impl<Svc> UnwindSafe for MakeRouterService<Svc> where
    Svc: 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> Instrument for T[src]

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

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.