announce_std/process.rs
1//! announce mocks of `process` traits. Generated from newer-type-std's copies.
2
3#[allow(unused_imports)]
4use announce::announce;
5
6#[cfg(announce_std_rust_1_61)]
7/// announce mock of [`::std::process::Termination`]: invoke `Termination!` to receive its definition.
8///
9/// The real trait is re-exported under the same path.
10#[announce(mock = ::std::process::Termination)]
11pub trait Termination {
12 fn report(self) -> ::std::process::ExitCode;
13}
14
15#[cfg(announce_std_rust_1_61)]
16#[doc(no_inline)]
17pub use ::std::process::Termination;