# Trait ExitStatusExt

1.12.0 · Source

    pub trait ExitStatusExt: Sealed {
        // Required method
        fn from_raw(raw: u32) -> Self;
    }

Available on Windows only.
Expand description

Windows-specific extensions to `process::ExitStatus`.

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§

1.12.0 · Source

#### fn from_raw(raw: u32) -> Self

Creates a new `ExitStatus` from the raw underlying `u32` return value of a process.

## Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

## Implementors§

1.12.0 · Source§

### impl ExitStatusExt for ExitStatus