W3cubDocs

/Rust

Trait ExitStatusExt

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

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.0Source
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.0Source
impl ExitStatusExt for ExitStatus

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/os/windows/process/trait.ExitStatusExt.html