pub enum PathDenialReason {
UserHardDeny,
UserReadOnlyCeiling,
ReadOnlyWorkspace,
CoversDeniedDescendant,
CoversProtectedReadOnlyDescendant,
InvalidAccess,
}Expand description
Specific reason a path evaluation returned PathAccessDecision::Deny.
Variants§
UserHardDeny
Blocked by a user-configured or non-ProductPrivate hard Deny rule.
UserReadOnlyCeiling
Write blocked by a TrustedGlobalConfig ReadOnly hard write ceiling.
ReadOnlyWorkspace
Write blocked because the active workspace is read-only.
CoversDeniedDescendant
Directory grant covers a strictly nested denied path.
CoversProtectedReadOnlyDescendant
Writable directory grant covers a strictly nested Merry ProductReadOnly path.
InvalidAccess
Requested PathAccess::Deny is never an executable grant.
Trait Implementations§
Source§impl Clone for PathDenialReason
impl Clone for PathDenialReason
Source§fn clone(&self) -> PathDenialReason
fn clone(&self) -> PathDenialReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PathDenialReason
Source§impl Debug for PathDenialReason
impl Debug for PathDenialReason
impl Eq for PathDenialReason
Source§impl PartialEq for PathDenialReason
impl PartialEq for PathDenialReason
impl StructuralPartialEq for PathDenialReason
Auto Trait Implementations§
impl Forget for PathDenialReason
impl Freeze for PathDenialReason
impl Move for PathDenialReason
impl RefUnwindSafe for PathDenialReason
impl Send for PathDenialReason
impl Sync for PathDenialReason
impl Unpin for PathDenialReason
impl UnsafeUnpin for PathDenialReason
impl UnwindSafe for PathDenialReason
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.