Trait pgs_files::Entry
[−]
[src]
pub trait Entry: Sized { fn from_line(line: &str) -> Result<Self, ParseIntError>; }
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>
Implementors
impl Entry for PasswdEntryimpl Entry for GroupEntryimpl Entry for ShadowEntry