pub enum LocalCommandOutcomeKind {
UnavailableHeadless,
Unknown,
Failed,
RestartRequired,
Other(String),
}Expand description
The outcome a local-command row reports (LocalCommandOutcome::kind).
New kinds are additive; the CLI itself drops the whole outcome when it
meets a kind it does not know, so treat Unknown as
absent.
Variants§
An interactive-panel command this (headless) session cannot open.
Unknown
No command has the typed name; see
LocalCommandOutcome::suggestion.
Failed
The command ran and failed.
RestartRequired
The change applies after Claude Code restarts.
Other(String)
A kind not yet known to this version of the crate.
Implementations§
Trait Implementations§
Source§impl Clone for LocalCommandOutcomeKind
impl Clone for LocalCommandOutcomeKind
Source§impl Debug for LocalCommandOutcomeKind
impl Debug for LocalCommandOutcomeKind
Source§impl<'de> Deserialize<'de> for LocalCommandOutcomeKind
impl<'de> Deserialize<'de> for LocalCommandOutcomeKind
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LocalCommandOutcomeKind
impl Display for LocalCommandOutcomeKind
impl Eq for LocalCommandOutcomeKind
Source§impl From<&str> for LocalCommandOutcomeKind
impl From<&str> for LocalCommandOutcomeKind
Source§impl Hash for LocalCommandOutcomeKind
impl Hash for LocalCommandOutcomeKind
Source§impl PartialEq for LocalCommandOutcomeKind
impl PartialEq for LocalCommandOutcomeKind
Source§impl Serialize for LocalCommandOutcomeKind
impl Serialize for LocalCommandOutcomeKind
impl StructuralPartialEq for LocalCommandOutcomeKind
Auto Trait Implementations§
impl Freeze for LocalCommandOutcomeKind
impl RefUnwindSafe for LocalCommandOutcomeKind
impl Send for LocalCommandOutcomeKind
impl Sync for LocalCommandOutcomeKind
impl Unpin for LocalCommandOutcomeKind
impl UnsafeUnpin for LocalCommandOutcomeKind
impl UnwindSafe for LocalCommandOutcomeKind
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