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