[][src]Enum readable_perms::User

pub enum User {

The class of user that UNIX permissions care about



Owner of the file directly


Members of the owner's group


Anyony else


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.