pub struct PassiveHealthConfig {
pub max_fails: u32,
pub fail_window: Duration,
pub cooldown: Duration,
}Fields§
§max_fails: u32§fail_window: Duration§cooldown: DurationTrait Implementations§
Source§impl Clone for PassiveHealthConfig
impl Clone for PassiveHealthConfig
Source§fn clone(&self) -> PassiveHealthConfig
fn clone(&self) -> PassiveHealthConfig
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 Debug for PassiveHealthConfig
impl Debug for PassiveHealthConfig
Source§impl Default for PassiveHealthConfig
impl Default for PassiveHealthConfig
Auto Trait Implementations§
impl Freeze for PassiveHealthConfig
impl RefUnwindSafe for PassiveHealthConfig
impl Send for PassiveHealthConfig
impl Sync for PassiveHealthConfig
impl Unpin for PassiveHealthConfig
impl UnsafeUnpin for PassiveHealthConfig
impl UnwindSafe for PassiveHealthConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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