pub enum ToolAction {
Allow,
Deny,
Ask,
}Expand description
What a rule does when its capability (and pattern) match.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ToolAction
impl Clone for ToolAction
impl Copy for ToolAction
Source§impl Debug for ToolAction
impl Debug for ToolAction
impl Eq for ToolAction
Source§impl Hash for ToolAction
impl Hash for ToolAction
Source§impl PartialEq for ToolAction
impl PartialEq for ToolAction
impl StructuralPartialEq for ToolAction
Auto Trait Implementations§
impl Forget for ToolAction
impl Freeze for ToolAction
impl RefUnwindSafe for ToolAction
impl Send for ToolAction
impl Sync for ToolAction
impl Unpin for ToolAction
impl UnsafeUnpin for ToolAction
impl UnwindSafe for ToolAction
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.