corund 0.2.0

Portable auth server.
Documentation
1
2
3
4
5
6
7
8
use super::res::Res;

pub trait StrEnum {
    fn to_str(&self) -> &str;
    fn from_str(s: &str) -> Res<Self>
    where
        Self: Sized;
}