pub enum BootstrapMode {
Interactive,
NonInteractive,
}Expand description
How to handle interactive prompts.
Variants§
Interactive
Prompt on a TTY; use defaults when stdin is not a terminal.
NonInteractive
Never prompt; use options as given.
Trait Implementations§
Source§impl Clone for BootstrapMode
impl Clone for BootstrapMode
Source§fn clone(&self) -> BootstrapMode
fn clone(&self) -> BootstrapMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BootstrapMode
Source§impl Debug for BootstrapMode
impl Debug for BootstrapMode
impl Eq for BootstrapMode
Source§impl PartialEq for BootstrapMode
impl PartialEq for BootstrapMode
impl StructuralPartialEq for BootstrapMode
Auto Trait Implementations§
impl Freeze for BootstrapMode
impl RefUnwindSafe for BootstrapMode
impl Send for BootstrapMode
impl Sync for BootstrapMode
impl Unpin for BootstrapMode
impl UnsafeUnpin for BootstrapMode
impl UnwindSafe for BootstrapMode
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§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.