[][src]Struct redox_users::Group

pub struct Group {
    pub group: String,
    pub gid: usize,
    pub users: Vec<String>,
}

A struct representing a Redox user group. Currently maps to an /etc/group file entry.

Fields

group: String

Group name

gid: usize

Unique group id

users: Vec<String>

Group members usernames

Trait Implementations

impl Debug for Group[src]

impl Display for Group[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Format this group as an entry in /etc/group. This is an implementation detail, do NOT rely on this trait being implemented in future.

impl FromStr for Group[src]

type Err = Box<dyn Error + Send + Sync>

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<Self>[src]

Parse an entry from /etc/group. This is an implementation detail, do NOT rely on this trait being implemented in future.

Auto Trait Implementations

impl RefUnwindSafe for Group

impl Send for Group

impl Sync for Group

impl Unpin for Group

impl UnwindSafe for Group

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> ToString for T where
    T: Display + ?Sized
[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.