pub trait Entry: Sized {
// Required method
fn from_line(line: &str) -> Result<Self, ParseIntError>;
}Expand description
A Trait to represent an entry of data from an
/etc/{passwd,group,shadow} file.
Required Methods§
fn from_line(line: &str) -> Result<Self, ParseIntError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.