penum 0.1.30

Make enum conform to a given pattern
Documentation
1
2
3
4
5
pub trait TryFrom<T>: Sized {
    type Error;

    fn try_from(value: T) -> Result<Self, Self::Error>;
}