Struct ntex::util::timeout::TimeoutService [−][src]
pub struct TimeoutService<S> { /* fields omitted */ }
Expand description
Applies a timeout to requests.
Implementations
Trait Implementations
type Error = TimeoutError<S::Error>
type Error = TimeoutError<S::Error>
Errors produced by the service.
The future response value.
Returns Ready
when the service is able to process requests. Read more
Shutdown service. Read more
Process the request and return the response asynchronously. Read more
Map this service’s output to a different type, returning a new service of the resulting type. Read more
Auto Trait Implementations
impl<S> RefUnwindSafe for TimeoutService<S> where
S: RefUnwindSafe,
impl<S> Send for TimeoutService<S> where
S: Send,
impl<S> Sync for TimeoutService<S> where
S: Sync,
impl<S> Unpin for TimeoutService<S> where
S: Unpin,
impl<S> UnwindSafe for TimeoutService<S> where
S: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more