pub struct AuthorizationOrder(/* private fields */);Expand description
A complete, duplicate-free criterion order; there is no default order. The mode’s verification/delay phase follows all these criteria.
Implementations§
Source§impl AuthorizationOrder
impl AuthorizationOrder
Sourcepub fn new(checks: [AuthorizationCheck; 7]) -> Result<Self, Error>
pub fn new(checks: [AuthorizationCheck; 7]) -> Result<Self, Error>
Validate that every criterion appears exactly once.
§Errors
Returns VALUE_OUT_OF_RANGE for a duplicate, which necessarily omits another required criterion from this seven-element order.
Sourcepub fn checks(&self) -> &[AuthorizationCheck; 7]
pub fn checks(&self) -> &[AuthorizationCheck; 7]
The validated evaluation order.
Trait Implementations§
Source§impl Clone for AuthorizationOrder
impl Clone for AuthorizationOrder
impl Copy for AuthorizationOrder
Source§impl Debug for AuthorizationOrder
impl Debug for AuthorizationOrder
impl Eq for AuthorizationOrder
Source§impl PartialEq for AuthorizationOrder
impl PartialEq for AuthorizationOrder
impl StructuralPartialEq for AuthorizationOrder
Auto Trait Implementations§
impl Freeze for AuthorizationOrder
impl RefUnwindSafe for AuthorizationOrder
impl Send for AuthorizationOrder
impl Sync for AuthorizationOrder
impl Unpin for AuthorizationOrder
impl UnsafeUnpin for AuthorizationOrder
impl UnwindSafe for AuthorizationOrder
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