pub enum ReadPathDecision {
Allowed,
NotDeclared,
NotGranted,
}Expand description
The outcome of checking one path against a ReadPathPolicy.
Variants§
Allowed
Declared by the blueprint and granted by the user (or the user opted into honoring blueprints wholesale).
NotDeclared
The blueprint never asked for this path; the ordinary workdir refusal stands.
NotGranted
The blueprint asked, but nothing in the user’s config grants it.
Trait Implementations§
Source§impl Clone for ReadPathDecision
impl Clone for ReadPathDecision
Source§fn clone(&self) -> ReadPathDecision
fn clone(&self) -> ReadPathDecision
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 ReadPathDecision
Source§impl Debug for ReadPathDecision
impl Debug for ReadPathDecision
impl Eq for ReadPathDecision
Source§impl PartialEq for ReadPathDecision
impl PartialEq for ReadPathDecision
impl StructuralPartialEq for ReadPathDecision
Auto Trait Implementations§
impl Freeze for ReadPathDecision
impl RefUnwindSafe for ReadPathDecision
impl Send for ReadPathDecision
impl Sync for ReadPathDecision
impl Unpin for ReadPathDecision
impl UnsafeUnpin for ReadPathDecision
impl UnwindSafe for ReadPathDecision
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.