#traits #expose #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

#1328 in Development tools

Download history 59/week @ 2024-04-07 29/week @ 2024-04-14 38/week @ 2024-04-21 32/week @ 2024-04-28 17/week @ 2024-05-05 24/week @ 2024-05-12 42/week @ 2024-05-19 25/week @ 2024-05-26 18/week @ 2024-06-02 6/week @ 2024-06-09 24/week @ 2024-06-16 80/week @ 2024-06-23 50/week @ 2024-06-30 63/week @ 2024-07-07 42/week @ 2024-07-14 48/week @ 2024-07-21

203 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
~35K SLoC