pub struct RestartIntensity {
pub max_restarts: u32,
pub window: Duration,
}Expand description
Sliding-window restart intensity limit (REQ-018).
Fields§
§max_restarts: u32§window: DurationTrait Implementations§
Source§impl Clone for RestartIntensity
impl Clone for RestartIntensity
Source§fn clone(&self) -> RestartIntensity
fn clone(&self) -> RestartIntensity
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 RestartIntensity
impl Debug for RestartIntensity
Auto Trait Implementations§
impl Freeze for RestartIntensity
impl RefUnwindSafe for RestartIntensity
impl Send for RestartIntensity
impl Sync for RestartIntensity
impl Unpin for RestartIntensity
impl UnsafeUnpin for RestartIntensity
impl UnwindSafe for RestartIntensity
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