# Trait docserver::defs::entries::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§

source

#### fn from_line(line: &str) -> Result<Self, ParseIntError>

## Implementors§

source§

### impl Entry for User