Struct keiro::MakeRouterService [−][src]
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]
Svc: Service<Request<Body>> + Clone,
Svc::Response: 'static,
Svc::Error: Into<Box<dyn StdError + Send + Sync>> + 'static,
Svc::Future: 'static,
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.
fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll<Result<()>>
[src]
fn call(&mut self, _req: T) -> Self::Future
[src]
Auto Trait Implementations
impl<Svc> RefUnwindSafe for MakeRouterService<Svc> where
Svc: RefUnwindSafe,
Svc: RefUnwindSafe,
impl<Svc> Send for MakeRouterService<Svc> where
Svc: Send,
Svc: Send,
impl<Svc> Sync for MakeRouterService<Svc> where
Svc: Sync,
Svc: Sync,
impl<Svc> Unpin for MakeRouterService<Svc> where
Svc: Unpin,
Svc: Unpin,
impl<Svc> UnwindSafe for MakeRouterService<Svc> where
Svc: UnwindSafe,
Svc: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,