pub struct Timeout<E = ()> { /* private fields */ }Expand description
Applies a timeout to requests.
Timeout transform is disabled if timeout is set to 0
Implementations
Trait Implementations
type Service = TimeoutService<S>
type Service = TimeoutService<S>
The TransformService value created by this factory
Creates and returns a new Transform component, asynchronously
Auto Trait Implementations
impl<E> RefUnwindSafe for Timeout<E> where
E: RefUnwindSafe,
impl<E> UnwindSafe for Timeout<E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more