pub struct Timeout { /* private fields */ }Expand description
Answers 408 when the handler takes longer than limit.
Implementations§
Trait Implementations§
impl Copy for Timeout
Auto Trait Implementations§
impl Freeze for Timeout
impl RefUnwindSafe for Timeout
impl Send for Timeout
impl Sync for Timeout
impl Unpin for Timeout
impl UnsafeUnpin for Timeout
impl UnwindSafe for Timeout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ConcreteMiddleware for Twhere
T: Middleware,
impl<T> ConcreteMiddleware for Twhere
T: Middleware,
Source§fn concrete_type_id(&self) -> TypeId
fn concrete_type_id(&self) -> TypeId
The
TypeId of the implementing type.Source§fn concrete_type_name(&self) -> &'static str
fn concrete_type_name(&self) -> &'static str
Its fully-qualified type name.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<M> IntoMiddlewareStack for Mwhere
M: Middleware,
impl<M> IntoMiddlewareStack for Mwhere
M: Middleware,
Source§fn into_middleware_stack(self) -> MiddlewareStack
fn into_middleware_stack(self) -> MiddlewareStack
Convert into a stack.