#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

#1231 in Development tools

Download history 9/week @ 2023-12-06 6/week @ 2023-12-13 8/week @ 2023-12-20 10/week @ 2023-12-27 69/week @ 2024-01-03 48/week @ 2024-01-10 12/week @ 2024-01-17 6/week @ 2024-01-24 13/week @ 2024-01-31 1/week @ 2024-02-07 11/week @ 2024-02-14 22/week @ 2024-02-21 50/week @ 2024-02-28 43/week @ 2024-03-06 46/week @ 2024-03-13 56/week @ 2024-03-20

200 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
~33K SLoC