pub struct JitterConfig {
pub enabled: bool,
pub min_delay_secs: u64,
pub max_delay_secs: u64,
}Expand description
Jitter configuration
Fields§
§enabled: boolWhether jitter is enabled
min_delay_secs: u64Minimum delay in seconds
max_delay_secs: u64Maximum delay in seconds
Trait Implementations§
Source§impl Clone for JitterConfig
impl Clone for JitterConfig
Source§fn clone(&self) -> JitterConfig
fn clone(&self) -> JitterConfig
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 JitterConfig
impl Debug for JitterConfig
Source§impl<'de> Deserialize<'de> for JitterConfig
impl<'de> Deserialize<'de> for JitterConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JitterConfig
impl RefUnwindSafe for JitterConfig
impl Send for JitterConfig
impl Sync for JitterConfig
impl Unpin for JitterConfig
impl UnsafeUnpin for JitterConfig
impl UnwindSafe for JitterConfig
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