pub struct BreakerConfig {
pub failure_threshold: u32,
pub open_for: Duration,
}Fields§
§failure_threshold: u32§open_for: DurationTrait Implementations§
Source§impl Clone for BreakerConfig
impl Clone for BreakerConfig
Source§impl Debug for BreakerConfig
impl Debug for BreakerConfig
Auto Trait Implementations§
impl Freeze for BreakerConfig
impl RefUnwindSafe for BreakerConfig
impl Send for BreakerConfig
impl Sync for BreakerConfig
impl Unpin for BreakerConfig
impl UnsafeUnpin for BreakerConfig
impl UnwindSafe for BreakerConfig
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