#[repr(u8)]pub enum Prompt {
Interactive = 0,
YesOrInteractive = 1,
YesOrBlock = 2,
Block = 3,
}Expand description
Prompt level set with --yes, --interactive, and --non-interactive flags
Variants§
Interactive = 0
Show all prompts interactively
YesOrInteractive = 1
Automatically answer “Yes” to all yes/no prompts, and show other prompts interactively
YesOrBlock = 2
Automatically answer “Yes” to all yes/no prompts, and do not allow other prompts
Block = 3
Do not allow any type of prompts (non-interactive). Attempting to show prompt will error
Trait Implementations§
impl Copy for Prompt
impl Eq for Prompt
impl StructuralPartialEq for Prompt
Auto Trait Implementations§
impl Freeze for Prompt
impl RefUnwindSafe for Prompt
impl Send for Prompt
impl Sync for Prompt
impl Unpin for Prompt
impl UnsafeUnpin for Prompt
impl UnwindSafe for Prompt
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.