pub trait FromFile<RHS = Self> {
type Error: Error;
// Required method
fn from_file<P>(path: P) -> Result<RHS, Self::Error>
where P: AsRef<Path>,
Self: for<'de> Deserialize<'de>;
}
pub trait FromFile<RHS = Self> {
type Error: Error;
// Required method
fn from_file<P>(path: P) -> Result<RHS, Self::Error>
where P: AsRef<Path>,
Self: for<'de> Deserialize<'de>;
}