Entry

Trait Entry 

Source
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§

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.

Implementors§