#expose #traits #process #err

termination

Library that exposes Termination trait, similar to std::process::Termination

3 releases

0.1.2 Jan 22, 2020
0.1.1 Jan 19, 2020
0.1.0 Jan 19, 2020

#1419 in Development tools

Download history 42/week @ 2024-07-20 49/week @ 2024-07-27 14/week @ 2024-08-03 117/week @ 2024-08-10 81/week @ 2024-08-17 22/week @ 2024-08-24 136/week @ 2024-08-31 112/week @ 2024-09-07 139/week @ 2024-09-14 176/week @ 2024-09-21 179/week @ 2024-09-28 31/week @ 2024-10-05 23/week @ 2024-10-12 134/week @ 2024-10-19 59/week @ 2024-10-26 107/week @ 2024-11-02

326 downloads per month
Used in 2 crates

MIT license

8KB

termination

Status Status Status


License Crate

#[termination::display]
fn main() -> Result<(), &'static str> {
  Err("Error: failed successfully.")
}

For more information, read Documentation


lib.rs:

Library that exposes Termination trait, similar to std::process::Termination.

Examples.

Dependencies

~1.5MB
~37K SLoC