Trait ExitCodeExt
trait ExitCodeExt: Sealed
Windows-specific extensions to process::ExitCode.
This trait is sealed: it cannot be implemented outside the standard library. This is so that future additional methods are not breaking changes.
Required Methods
fn from_raw(raw: u32) -> SelfCreates a new
ExitCodefrom the raw underlyingu32return value of a process.The exit code should not be 259, as this conflicts with the
STILL_ACTIVEmacro returned from theGetExitCodeProcessfunction to signal that the process has yet to run to completion.
Implementors
impl ExitCodeExt for process::ExitCode