1 2 3 4
pub trait ConfParser<T: ?Sized> { fn from_parse(items: &T) -> Self; fn validate(items: &T) -> Result<(), String>; }