thistermination 1.1.0

A library crate to add the Termination trait to error enums inspired by thiserror
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thistermination::{TerminationFull, Termination, TerminationNoDebug};

//The "test" will fail if this file does not compile

#[derive(TerminationFull)]
enum Test1 {}

#[derive(Termination)]
enum Test2 {}

#[derive(TerminationNoDebug)]
enum Test3 {}