pub enum AccessLevel {
None,
Traverse,
Full,
}Expand description
Represents the access level for a path in the allowlist.
Variants§
None
No access allowed.
Traverse
Directory traversal (lookup) only access. Automatically granted to ancestor directories of allowed paths to act as a traversable pathway. This level is only granted automatically and cannot be configured manually.
Full
Full read and write access. Granted to explicitly allowed paths and inherited by all their descendants.
Trait Implementations§
Source§impl Clone for AccessLevel
impl Clone for AccessLevel
Source§fn clone(&self) -> AccessLevel
fn clone(&self) -> AccessLevel
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccessLevel
impl Debug for AccessLevel
Source§impl Ord for AccessLevel
impl Ord for AccessLevel
Source§fn cmp(&self, other: &AccessLevel) -> Ordering
fn cmp(&self, other: &AccessLevel) -> Ordering
1.21.0 · 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
Source§impl PartialEq for AccessLevel
impl PartialEq for AccessLevel
Source§impl PartialOrd for AccessLevel
impl PartialOrd for AccessLevel
impl Copy for AccessLevel
impl Eq for AccessLevel
impl StructuralPartialEq for AccessLevel
Auto Trait Implementations§
impl Freeze for AccessLevel
impl RefUnwindSafe for AccessLevel
impl Send for AccessLevel
impl Sync for AccessLevel
impl Unpin for AccessLevel
impl UnwindSafe for AccessLevel
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