pub enum AskReason {
FirstTime,
NotTrusted,
Lapsed,
}Expand description
Why the prompt is shown.
Variants§
FirstTime
No decision about the source, and nothing installed from it.
NotTrusted
No decision, but skills from it are installed (trusted once before, trust revoked, or installed before 0.5.0).
Lapsed
Trusted, but the repository changed under that trust.
Implementations§
Trait Implementations§
impl Copy for AskReason
impl Eq for AskReason
impl StructuralPartialEq for AskReason
Auto Trait Implementations§
impl Forget for AskReason
impl Freeze for AskReason
impl Move for AskReason
impl RefUnwindSafe for AskReason
impl Send for AskReason
impl Sync for AskReason
impl Unpin for AskReason
impl UnsafeUnpin for AskReason
impl UnwindSafe for AskReason
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.