pub struct HeartbeatPolicy {
pub min_ratio: f64,
pub max_ratio: f64,
}Expand description
Distribution for randomized TTL heartbeats.
Fields§
§min_ratio: f64§max_ratio: f64Implementations§
Trait Implementations§
Source§impl Clone for HeartbeatPolicy
impl Clone for HeartbeatPolicy
impl Copy for HeartbeatPolicy
Auto Trait Implementations§
impl Freeze for HeartbeatPolicy
impl RefUnwindSafe for HeartbeatPolicy
impl Send for HeartbeatPolicy
impl Sync for HeartbeatPolicy
impl Unpin for HeartbeatPolicy
impl UnsafeUnpin for HeartbeatPolicy
impl UnwindSafe for HeartbeatPolicy
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