pub struct HeartbeatConfig {
pub interval_secs: f64,
pub timeout: Duration,
}Expand description
Configuration for heartbeat timeout detection.
Fields§
§interval_secs: f64§timeout: DurationImplementations§
Trait Implementations§
Source§impl Clone for HeartbeatConfig
impl Clone for HeartbeatConfig
Source§fn clone(&self) -> HeartbeatConfig
fn clone(&self) -> HeartbeatConfig
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 moreAuto Trait Implementations§
impl Freeze for HeartbeatConfig
impl RefUnwindSafe for HeartbeatConfig
impl Send for HeartbeatConfig
impl Sync for HeartbeatConfig
impl Unpin for HeartbeatConfig
impl UnwindSafe for HeartbeatConfig
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