[][src]Enum readable_perms::User

pub enum User {
    Owner,
    Group,
    Other,
}

The class of user that UNIX permissions care about

Variants

Owner

Owner of the file directly

Group

Members of the owner's group

Other

Anyony else

Implementations

impl User[src]

pub const fn mode(self, mask: Bit) -> u32[src]

Convert this class's representation of Bit into the corresponding mode_t.

pub const fn from_mode(self, mask: u32) -> Bit[src]

Convert a mode_t u32 into Bit with this class' user.

Trait Implementations

impl Clone for User[src]

impl Copy for User[src]

impl Debug for User[src]

impl Eq for User[src]

impl Hash for User[src]

impl PartialEq<User> for User[src]

impl StructuralEq for User[src]

impl StructuralPartialEq for User[src]

Auto Trait Implementations

impl RefUnwindSafe for User

impl Send for User

impl Sync for User

impl Unpin for User

impl UnwindSafe for User

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.