pub struct HealthThresholds {
pub heartbeat_stale: Duration,
pub watermark_stuck: Duration,
}Expand description
Staleness thresholds for the liveness probe.
Fields§
§heartbeat_stale: DurationA pipeline thread whose heartbeat is older than this is considered stalled.
watermark_stuck: DurationThe watermark is considered stuck when its age exceeds this while data is flowing.
Trait Implementations§
Source§impl Clone for HealthThresholds
impl Clone for HealthThresholds
Source§fn clone(&self) -> HealthThresholds
fn clone(&self) -> HealthThresholds
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 moreSource§impl Debug for HealthThresholds
impl Debug for HealthThresholds
Source§impl Default for HealthThresholds
impl Default for HealthThresholds
Source§fn default() -> HealthThresholds
fn default() -> HealthThresholds
Returns the “default value” for a type. Read more
impl Copy for HealthThresholds
Auto Trait Implementations§
impl Freeze for HealthThresholds
impl RefUnwindSafe for HealthThresholds
impl Send for HealthThresholds
impl Sync for HealthThresholds
impl Unpin for HealthThresholds
impl UnsafeUnpin for HealthThresholds
impl UnwindSafe for HealthThresholds
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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