pub struct ReadinessService<S> { /* private fields */ }Expand description
Service that tracks the readiness of underlying services
Should be the innermost service
Trait Implementations§
Source§impl<S: Clone> Clone for ReadinessService<S>
impl<S: Clone> Clone for ReadinessService<S>
Source§fn clone(&self) -> ReadinessService<S>
fn clone(&self) -> ReadinessService<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 ReadinessService<S>
impl<S: Debug> Debug for ReadinessService<S>
Auto Trait Implementations§
impl<S> Freeze for ReadinessService<S>where
S: Freeze,
impl<S> !RefUnwindSafe for ReadinessService<S>
impl<S> Send for ReadinessService<S>where
S: Send,
impl<S> Sync for ReadinessService<S>where
S: Sync,
impl<S> Unpin for ReadinessService<S>where
S: Unpin,
impl<S> !UnwindSafe for ReadinessService<S>
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> 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<Args, Ctx, S, B> IntoWorkerService<B, S, Args, Ctx> for S
impl<Args, Ctx, S, B> IntoWorkerService<B, S, Args, Ctx> for S
Source§fn into_service(self, _: &B) -> S
fn into_service(self, _: &B) -> S
Build the service from the backend
Source§impl<T, Args, Ctx, Svc, B, M> IntoWorkerServiceExt<Args, Ctx, Svc, B, M> for T
impl<T, Args, Ctx, Svc, B, M> IntoWorkerServiceExt<Args, Ctx, Svc, B, M> for T
Source§fn build_with(
self,
builder: WorkerBuilder<Args, Ctx, B, M>,
) -> Worker<Args, Ctx, B, Svc, M>
fn build_with( self, builder: WorkerBuilder<Args, Ctx, B, M>, ) -> Worker<Args, Ctx, B, Svc, M>
Consumes the builder and returns a worker