pub struct TimeoutService<S> { /* private fields */ }Expand description
Timeout service.
Trait Implementations§
Source§impl<S: Clone> Clone for TimeoutService<S>
impl<S: Clone> Clone for TimeoutService<S>
Source§fn clone(&self) -> TimeoutService<S>
fn clone(&self) -> TimeoutService<S>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Debug> Debug for TimeoutService<S>
impl<S: Debug> Debug for TimeoutService<S>
Source§impl<S> Service<HttpRequest> for TimeoutService<S>where
S: Service<HttpRequest, Response = HttpResponse, Error = Error> + Clone + Send + Sync + 'static,
S::Future: Send,
impl<S> Service<HttpRequest> for TimeoutService<S>where
S: Service<HttpRequest, Response = HttpResponse, Error = Error> + Clone + Send + Sync + 'static,
S::Future: Send,
Auto Trait Implementations§
impl<S> Freeze for TimeoutService<S>where
S: Freeze,
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§
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> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging