pub enum AllowDecision {
Allow,
Deny,
Unspecified,
}Expand description
The decision for a single (name, version) lookup.
Variants§
Allow
Package is explicitly allowed — run its lifecycle scripts.
Deny
Package is explicitly denied — skip even if a broader rule would allow.
Unspecified
No rule matched; caller applies its default (aube denies).
Trait Implementations§
Source§impl Clone for AllowDecision
impl Clone for AllowDecision
Source§fn clone(&self) -> AllowDecision
fn clone(&self) -> AllowDecision
Returns a duplicate 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 AllowDecision
impl Debug for AllowDecision
Source§impl PartialEq for AllowDecision
impl PartialEq for AllowDecision
impl Copy for AllowDecision
impl Eq for AllowDecision
impl StructuralPartialEq for AllowDecision
Auto Trait Implementations§
impl Freeze for AllowDecision
impl RefUnwindSafe for AllowDecision
impl Send for AllowDecision
impl Sync for AllowDecision
impl Unpin for AllowDecision
impl UnsafeUnpin for AllowDecision
impl UnwindSafe for AllowDecision
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.