Trait Termination

Source
pub unsafe trait Termination: Termination { }
Expand description

This trait is empty declaration of ::std::process::Termination to be used with newer_type::implement.

§Example

#[implement(newer_type_std::process::Termination)]
struct MyStruct {
    slot: std::process::ExitCode
}

§Safety

should be implemented by newer_type::implement

Implementors§