pub enum ConfirmKind {
DestructiveStep(String),
Reboot,
SaveToken(String),
RebootAfterApply,
InstallStatusApi {
remote: bool,
},
InstallMcp {
remote: bool,
status_api: bool,
},
}Expand description
Confirmation dialog kinds shown as TUI overlays.
Variants§
DestructiveStep(String)
Reboot
SaveToken(String)
RebootAfterApply
InstallStatusApi
Ask whether to install status-api after full apply.
InstallMcp
Ask whether to install MCP (after status-api answer).
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmKind
impl Clone for ConfirmKind
Source§fn clone(&self) -> ConfirmKind
fn clone(&self) -> ConfirmKind
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 moreAuto Trait Implementations§
impl Freeze for ConfirmKind
impl RefUnwindSafe for ConfirmKind
impl Send for ConfirmKind
impl Sync for ConfirmKind
impl Unpin for ConfirmKind
impl UnsafeUnpin for ConfirmKind
impl UnwindSafe for ConfirmKind
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more