pub enum TimeoutOutcome {
Completed {
exit_status: ExitStatus,
},
TimedOut {
signal_sent: i32,
escalated: bool,
tree_kill_reliability: TreeKillReliability,
},
}Expand description
Outcome of timeout execution.
Variants§
Completed
Command completed within timeout.
Fields
§
exit_status: ExitStatusExit status of the child process.
TimedOut
Command timed out and was killed.
Fields
§
escalated: boolWhether escalation to SIGKILL occurred.
true if the process didn’t exit after receiving signal_sent
and had to be forcefully killed with SIGKILL.
§
tree_kill_reliability: TreeKillReliabilityWhether tree-kill was reliable.
Guaranteed when spawn-time acquisition and group/job signaling
eligibility were proven.
BestEffort if only the direct child was killed.
Trait Implementations§
Auto Trait Implementations§
impl Forget for TimeoutOutcome
impl Freeze for TimeoutOutcome
impl RefUnwindSafe for TimeoutOutcome
impl Send for TimeoutOutcome
impl Sync for TimeoutOutcome
impl Unpin for TimeoutOutcome
impl UnsafeUnpin for TimeoutOutcome
impl UnwindSafe for TimeoutOutcome
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