#[non_exhaustive]pub enum AuthorizerRole {
Check,
Authority,
}Expand description
How the authorizer composes with built-in policy (SPEC-SERVER §6.2, SPEC-TRANSPORT-CONNECT §7.5). Neither role overrides namespace denial.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Check
An additional check that may deny an otherwise authorized write.
Authority
The rule-3 authority source. It may authorize non-owners and deny owners.
Trait Implementations§
Source§impl Clone for AuthorizerRole
impl Clone for AuthorizerRole
impl Copy for AuthorizerRole
Source§impl Debug for AuthorizerRole
impl Debug for AuthorizerRole
Source§impl Default for AuthorizerRole
impl Default for AuthorizerRole
impl Eq for AuthorizerRole
Source§impl PartialEq for AuthorizerRole
impl PartialEq for AuthorizerRole
impl StructuralPartialEq for AuthorizerRole
Auto Trait Implementations§
impl Freeze for AuthorizerRole
impl RefUnwindSafe for AuthorizerRole
impl Send for AuthorizerRole
impl Sync for AuthorizerRole
impl Unpin for AuthorizerRole
impl UnsafeUnpin for AuthorizerRole
impl UnwindSafe for AuthorizerRole
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