#[non_exhaustive]pub enum NonDefault {
MissingAllowsAll,
EveryoneAllowed {
entry: usize,
},
}Expand description
A choice that grants more than the default does, reported as data.
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.
MissingAllowsAll
OnMissing::AllowAll: an item with no ACL grants every right.
EveryoneAllowed
The entry at this index allows something to Everyone, signed in or not.
Trait Implementations§
Source§impl Clone for NonDefault
impl Clone for NonDefault
impl Copy for NonDefault
Source§impl Debug for NonDefault
impl Debug for NonDefault
impl Eq for NonDefault
Source§impl PartialEq for NonDefault
impl PartialEq for NonDefault
impl StructuralPartialEq for NonDefault
Auto Trait Implementations§
impl Freeze for NonDefault
impl RefUnwindSafe for NonDefault
impl Send for NonDefault
impl Sync for NonDefault
impl Unpin for NonDefault
impl UnsafeUnpin for NonDefault
impl UnwindSafe for NonDefault
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