[][src]Struct umanux::userlib::UserDBLocal

pub struct UserDBLocal {
    pub users: UserList,
    pub groups: Vec<Group>,
    // some fields omitted
}

Fields

users: UserListgroups: Vec<Group>

Implementations

impl UserDBLocal[src]

#[must_use]pub fn import_from_strings(
    passwd_content: &str,
    shadow_content: &str,
    group_content: &str
) -> Self
[src]

Import the database from strings

pub fn load_files(files: Files) -> Result<Self, UserLibError>[src]

Import the database from a [Files] struct

Trait Implementations

impl UserDBRead for UserDBLocal[src]

impl UserDBValidation for UserDBLocal[src]

impl UserDBWrite for UserDBLocal[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.