newer_type_std/
process.rs

1use crate::emit_traits;
2use newer_type::target;
3
4emit_traits! {
5    #[implement_of(newer_type_std::process::Termination)]
6    #[slot(std::process::ExitCode)]
7    #[target(alternative = ::std::process::Termination)]
8    pub trait Termination {
9        fn report(self) -> ::std::process::ExitCode;
10    }
11}