pub enum RuleOfTwo {
Ok,
Warn,
Refuse,
}Expand description
The verdict on a grant. Ok ≤ 2 legs; all 3 legs → Refuse (or Warn
with --allow-trifecta).
Variants§
Trait Implementations§
impl Copy for RuleOfTwo
impl Eq for RuleOfTwo
impl StructuralPartialEq for RuleOfTwo
Auto Trait Implementations§
impl Freeze for RuleOfTwo
impl RefUnwindSafe for RuleOfTwo
impl Send for RuleOfTwo
impl Sync for RuleOfTwo
impl Unpin for RuleOfTwo
impl UnsafeUnpin for RuleOfTwo
impl UnwindSafe for RuleOfTwo
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