pub enum Tier {
One,
Two,
Three,
ThreeTyped,
}Expand description
The confirmation tier a request’s category requires before it may execute (design FR-121; RFC 013
decision 4). Derived from RequestCategory alone, never declared per operation, so a new
operation cannot forget to be gated — the same mechanical guarantee FR-123 gives frontend parity.
Ordering matters: Tier::One < Tier::Two < Tier::Three < Tier::ThreeTyped, so a >= comparison
reads as “requires at least this much ceremony.”
Variants§
One
Free — no confirmation, ever (RFC 013 decision 6: a standing constraint, not a default). Every read category is this tier.
Two
Queue-affecting: an explicit yes.
Three
History-publishing: restate the operation, then an explicit yes.
ThreeTyped
Recovery/trust: restate, then the typed target name, matched exactly (FR-102/FR-103).
Trait Implementations§
impl Copy for Tier
impl Eq for Tier
Source§impl Ord for Tier
impl Ord for Tier
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Tier
impl PartialOrd for Tier
impl StructuralPartialEq for Tier
Auto Trait Implementations§
impl Forget for Tier
impl Freeze for Tier
impl Move for Tier
impl RefUnwindSafe for Tier
impl Send for Tier
impl Sync for Tier
impl Unpin for Tier
impl UnsafeUnpin for Tier
impl UnwindSafe for Tier
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