#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

#1477 in Development tools

Download history 95/week @ 2024-11-16 81/week @ 2024-11-23 135/week @ 2024-11-30 118/week @ 2024-12-07 43/week @ 2024-12-14 1/week @ 2024-12-21 12/week @ 2024-12-28 101/week @ 2025-01-04 342/week @ 2025-01-11 100/week @ 2025-01-18 125/week @ 2025-01-25 153/week @ 2025-02-01 101/week @ 2025-02-08 46/week @ 2025-02-15 44/week @ 2025-02-22 29/week @ 2025-03-01

254 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
~38K SLoC