pub struct ReadinessContext { /* private fields */ }Expand description
Holds indicators for NestApplication::enable_readiness_check; exposed so apps can reuse or test checks.
Implementations§
Source§impl ReadinessContext
impl ReadinessContext
pub fn indicators(&self) -> &[Arc<dyn HealthIndicator>]
Trait Implementations§
Source§impl Clone for ReadinessContext
impl Clone for ReadinessContext
Source§fn clone(&self) -> ReadinessContext
fn clone(&self) -> ReadinessContext
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 moreAuto Trait Implementations§
impl Freeze for ReadinessContext
impl !RefUnwindSafe for ReadinessContext
impl Send for ReadinessContext
impl Sync for ReadinessContext
impl Unpin for ReadinessContext
impl UnsafeUnpin for ReadinessContext
impl !UnwindSafe for ReadinessContext
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