#[non_exhaustive]pub enum Confirmation {
Prompt,
Assumed,
}Expand description
Whether a command that changes the node may proceed without asking.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Prompt
Ask on the terminal; refuse when standard input is not a terminal.
Assumed
Proceed without asking (--yes).
Trait Implementations§
Source§impl Clone for Confirmation
impl Clone for Confirmation
impl Copy for Confirmation
Source§impl Debug for Confirmation
impl Debug for Confirmation
Source§impl Default for Confirmation
impl Default for Confirmation
impl Eq for Confirmation
Source§impl PartialEq for Confirmation
impl PartialEq for Confirmation
impl StructuralPartialEq for Confirmation
Auto Trait Implementations§
impl Forget for Confirmation
impl Freeze for Confirmation
impl Move for Confirmation
impl RefUnwindSafe for Confirmation
impl Send for Confirmation
impl Sync for Confirmation
impl Unpin for Confirmation
impl UnsafeUnpin for Confirmation
impl UnwindSafe for Confirmation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.