pub enum CascadeLevel {
Retry = 0,
Fallback = 1,
Refine = 2,
Escalate = 3,
Contain = 4,
}Expand description
The escalation chain. k is the number of strict escalations available
from level 0, i.e. Contain as u8.
Variants§
Retry = 0
Re-propose after a directed correction.
Fallback = 1
Switch route: alternate tool, alternate provider or family, or bundle mode. Where multi-provider pays for itself operationally.
Refine = 2
Topological Escalation: split or revise the node through the mutable work graph. Without certified proxy geometry this is empirical recovery and carries no convergence claim (Paper I Remark 12.3).
Escalate = 3
ask_user, or hand the node to a higher-capability route.
Contain = 4
Revoke mutating capabilities, freeze the node, restore best accepted state, issue the residual certificate. Unconditionally terminating.
Trait Implementations§
Source§impl Clone for CascadeLevel
impl Clone for CascadeLevel
Source§fn clone(&self) -> CascadeLevel
fn clone(&self) -> CascadeLevel
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 CascadeLevel
impl Debug for CascadeLevel
Source§impl<'de> Deserialize<'de> for CascadeLevel
impl<'de> Deserialize<'de> for CascadeLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for CascadeLevel
impl Ord for CascadeLevel
Source§fn cmp(&self, other: &CascadeLevel) -> Ordering
fn cmp(&self, other: &CascadeLevel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CascadeLevel
impl PartialEq for CascadeLevel
Source§fn eq(&self, other: &CascadeLevel) -> bool
fn eq(&self, other: &CascadeLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CascadeLevel
impl PartialOrd for CascadeLevel
Source§impl Serialize for CascadeLevel
impl Serialize for CascadeLevel
impl Copy for CascadeLevel
impl Eq for CascadeLevel
impl StructuralPartialEq for CascadeLevel
Auto Trait Implementations§
impl Freeze for CascadeLevel
impl RefUnwindSafe for CascadeLevel
impl Send for CascadeLevel
impl Sync for CascadeLevel
impl Unpin for CascadeLevel
impl UnsafeUnpin for CascadeLevel
impl UnwindSafe for CascadeLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.