pub struct PreclassifiedExit(pub i32);Expand description
Typed marker carrying an already-decided process exit code.
A parallel-export child runs in its own process, classifies its own failure,
and exits with that code; the typed marker itself cannot cross the process
boundary — only the integer code does. The parent wraps the aggregate failure
in this marker so classify_exit re-derives the SAME class instead of
stringifying "exited with status 3" and collapsing it to a generic 1.
Tuple Fields§
§0: i32Trait Implementations§
Source§impl Debug for PreclassifiedExit
impl Debug for PreclassifiedExit
Source§impl Display for PreclassifiedExit
impl Display for PreclassifiedExit
Source§impl Error for PreclassifiedExit
impl Error for PreclassifiedExit
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for PreclassifiedExit
impl RefUnwindSafe for PreclassifiedExit
impl Send for PreclassifiedExit
impl Sync for PreclassifiedExit
impl Unpin for PreclassifiedExit
impl UnsafeUnpin for PreclassifiedExit
impl UnwindSafe for PreclassifiedExit
Blanket Implementations§
impl<T> Allocation for T
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