pub enum SpawnFailureKind {
Unclassified,
WorkingDirMissing,
}Expand description
The class of a spawn failure, when the SDK could name one.
A consumer that would otherwise search the rendered message for a
word can read this instead: Error::CwdNotFound renders the path it
could not enter, and for a worker that path runs through
.claude/worktrees/<label>, so the word “worktree” appears in a
failure that has nothing to do with creating one.
Variants§
Unclassified
The bridge could not attribute the failure - a child that exited, a closed stream, a refusal. Message heuristics stay in charge.
WorkingDirMissing
forge_sdk::Error::CwdNotFound: the subprocess had no working
directory to start in.
Trait Implementations§
Source§impl Clone for SpawnFailureKind
impl Clone for SpawnFailureKind
impl Copy for SpawnFailureKind
Source§impl Debug for SpawnFailureKind
impl Debug for SpawnFailureKind
impl Eq for SpawnFailureKind
Source§impl PartialEq for SpawnFailureKind
impl PartialEq for SpawnFailureKind
impl StructuralPartialEq for SpawnFailureKind
Auto Trait Implementations§
impl Freeze for SpawnFailureKind
impl RefUnwindSafe for SpawnFailureKind
impl Send for SpawnFailureKind
impl Sync for SpawnFailureKind
impl Unpin for SpawnFailureKind
impl UnsafeUnpin for SpawnFailureKind
impl UnwindSafe for SpawnFailureKind
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.