pub enum PathGuardKind {
Escape,
SymlinkVault,
}Expand description
Why PathGuard rejected a path. Hosts branch on this; do not parse messages.
Variants§
Escape
Resolved path is outside every allowed root (.. or absolute escape).
SymlinkVault
A symlink in the chain resolved outside the allowed roots.
Trait Implementations§
Source§impl Clone for PathGuardKind
impl Clone for PathGuardKind
impl Copy for PathGuardKind
Source§impl Debug for PathGuardKind
impl Debug for PathGuardKind
impl Eq for PathGuardKind
Source§impl PartialEq for PathGuardKind
impl PartialEq for PathGuardKind
impl StructuralPartialEq for PathGuardKind
Auto Trait Implementations§
impl Freeze for PathGuardKind
impl RefUnwindSafe for PathGuardKind
impl Send for PathGuardKind
impl Sync for PathGuardKind
impl Unpin for PathGuardKind
impl UnsafeUnpin for PathGuardKind
impl UnwindSafe for PathGuardKind
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
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§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.