announce-std 0.1.1

announce trampolines for std/core traits
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! announce mocks of `process` traits. Generated from newer-type-std's copies.

#[allow(unused_imports)]
use announce::announce;

#[cfg(announce_std_rust_1_61)]
/// announce mock of [`::std::process::Termination`]: invoke `Termination!` to receive its definition.
///
/// The real trait is re-exported under the same path.
#[announce(mock = ::std::process::Termination)]
pub trait Termination {
    fn report(self) -> ::std::process::ExitCode;
}

#[cfg(announce_std_rust_1_61)]
#[doc(no_inline)]
pub use ::std::process::Termination;