pub struct HeartbeatPolicy {
pub allow_degraded_on_offline: bool,
}Expand description
Policy applied when a heartbeat cannot reach the control plane.
Fields§
§allow_degraded_on_offline: boolDegrade instead of failing when the client reports offline status.
Trait Implementations§
Source§impl Clone for HeartbeatPolicy
impl Clone for HeartbeatPolicy
Source§fn clone(&self) -> HeartbeatPolicy
fn clone(&self) -> HeartbeatPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HeartbeatPolicy
Source§impl Debug for HeartbeatPolicy
impl Debug for HeartbeatPolicy
Source§impl Default for HeartbeatPolicy
impl Default for HeartbeatPolicy
impl Eq for HeartbeatPolicy
Source§impl PartialEq for HeartbeatPolicy
impl PartialEq for HeartbeatPolicy
impl StructuralPartialEq 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