pub struct ExecFailed {
pub kind: ExecFailureKind,
pub errno: Option<i32>,
pub errno_name: Option<String>,
pub message: String,
pub stage: Option<String>,
}Expand description
Notification that a command failed to start (the user’s program
never got to run). Distinct from ExecExited, which means the
process ran and reported an exit code.
Fields§
§kind: ExecFailureKindCoarse classification used by the CLI/SDK to pick hints.
errno: Option<i32>errno if the underlying failure was a syscall.
errno_name: Option<String>Standard errno name like "ENOENT". Easier to grep than the
raw number; populated by the agentd classifier.
message: StringHuman-readable description from agentd. Always populated.
stage: Option<String>Which step failed when the kind alone isn’t enough — e.g.
"execvp", "setrlimit(RLIMIT_NOFILE)", "posix_openpt".
Trait Implementations§
Source§impl Clone for ExecFailed
impl Clone for ExecFailed
Source§fn clone(&self) -> ExecFailed
fn clone(&self) -> ExecFailed
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 moreSource§impl Debug for ExecFailed
impl Debug for ExecFailed
Source§impl<'de> Deserialize<'de> for ExecFailed
impl<'de> Deserialize<'de> for ExecFailed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecFailed
impl RefUnwindSafe for ExecFailed
impl Send for ExecFailed
impl Sync for ExecFailed
impl Unpin for ExecFailed
impl UnsafeUnpin for ExecFailed
impl UnwindSafe for ExecFailed
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