pub enum OwnedRunFailure {
Cancelled,
Startup(StartupError),
ResultRead(Errno),
ChildStatus(ExitStatus),
Cleanup(Errno),
WaitStatusUnavailable,
}Expand description
The original failure, separate from subsequent cleanup observations.
Variants§
Cancelled
The caller explicitly cancelled this run. External error details remain with that caller; later successful child exit cannot erase cancellation.
Startup(StartupError)
Startup or the child’s encoded startup/setup refusal.
ResultRead(Errno)
The actual result-reader syscall failed; partial bytes remain retained.
ChildStatus(ExitStatus)
The real child returned an unsuccessful terminal status.
Cleanup(Errno)
Cleanup failed before an actual terminal status could be obtained.
Physical exit is established, but a competing reaper lost the status.
Trait Implementations§
Source§impl Clone for OwnedRunFailure
impl Clone for OwnedRunFailure
impl Copy for OwnedRunFailure
Source§impl Debug for OwnedRunFailure
impl Debug for OwnedRunFailure
impl Eq for OwnedRunFailure
Source§impl PartialEq for OwnedRunFailure
impl PartialEq for OwnedRunFailure
impl StructuralPartialEq for OwnedRunFailure
Auto Trait Implementations§
impl Freeze for OwnedRunFailure
impl RefUnwindSafe for OwnedRunFailure
impl Send for OwnedRunFailure
impl Sync for OwnedRunFailure
impl Unpin for OwnedRunFailure
impl UnsafeUnpin for OwnedRunFailure
impl UnwindSafe for OwnedRunFailure
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