pub enum ServiceFailureResetPeriod {
Never,
After(Duration),
}Expand description
A enum that represents the reset period for the failure counter.
§Panics
Converting this to the FFI form will panic if the period is too large to fit as seconds in a
u32.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ServiceFailureResetPeriod
impl Clone for ServiceFailureResetPeriod
Source§fn clone(&self) -> ServiceFailureResetPeriod
fn clone(&self) -> ServiceFailureResetPeriod
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 ServiceFailureResetPeriod
impl Debug for ServiceFailureResetPeriod
Source§impl Hash for ServiceFailureResetPeriod
impl Hash for ServiceFailureResetPeriod
impl Copy for ServiceFailureResetPeriod
impl Eq for ServiceFailureResetPeriod
impl StructuralPartialEq for ServiceFailureResetPeriod
Auto Trait Implementations§
impl Freeze for ServiceFailureResetPeriod
impl RefUnwindSafe for ServiceFailureResetPeriod
impl Send for ServiceFailureResetPeriod
impl Sync for ServiceFailureResetPeriod
impl Unpin for ServiceFailureResetPeriod
impl UnwindSafe for ServiceFailureResetPeriod
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