Trait knative_conditions::ConditionType
source · [−]pub trait ConditionType: Clone + Copy + Default + Debug + PartialEq where
Self: 'static, {
fn happy() -> Self;
fn dependents() -> &'static [Self]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
;
fn is_terminal(&self) -> bool { ... }
fn severity(&self) -> ConditionSeverity { ... }
}
Expand description
Enums that implement ConditionType
can be used to differentiate Condition
and describe the state of the resource.
Required Methods
Provided Methods
fn is_terminal(&self) -> bool
fn is_terminal(&self) -> bool
Whether the ConditionType
determines happiness.
fn severity(&self) -> ConditionSeverity
fn severity(&self) -> ConditionSeverity
A Condition
severity defaults to whether it determines overall resource readiness or
not.