pub enum Outcome {
AlreadyAllowed,
Unparseable,
RecognizedButDenied {
names: Vec<String>,
},
Generated {
entries: Vec<GeneratedEntry>,
also_recognized: Vec<String>,
},
}Expand description
What analyze concluded about a command.
Variants§
AlreadyAllowed
Already auto-approves — nothing to suggest.
Unparseable
Could not parse; a command definition can’t fix a structural parse failure.
RecognizedButDenied
Denied, but every command in it is one safe-chains RECOGNIZES — the block is a classification
decision, not an unknown command. --suggest will not generate an override.
Generated
One or more unknown commands can be supported by the generated entries. also_recognized
lists any recognized commands that also appear (informational).
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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.