pub struct HealthTracker { /* private fields */ }Implementations§
Source§impl HealthTracker
impl HealthTracker
pub fn new(policy: HealthPolicy, started_at: Duration) -> Self
pub fn observe(&mut self, at: Duration, probe: HealthProbe) -> HealthOutcome
pub fn outcome(&self, at: Duration) -> HealthOutcome
Trait Implementations§
Source§impl Clone for HealthTracker
impl Clone for HealthTracker
Auto Trait Implementations§
impl Freeze for HealthTracker
impl RefUnwindSafe for HealthTracker
impl Send for HealthTracker
impl Sync for HealthTracker
impl Unpin for HealthTracker
impl UnsafeUnpin for HealthTracker
impl UnwindSafe for HealthTracker
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