[][src]Struct sunrise_libuser::fs::DirectoryEntryType

#[repr(transparent)]pub struct DirectoryEntryType(pub u8);

Represent the type of a given resource when walking a directory.

Implementations

impl DirectoryEntryType[src]

pub const Directory: DirectoryEntryType[src]

The entry is a file.

pub const File: DirectoryEntryType[src]

The entry is a directory.

Trait Implementations

impl Clone for DirectoryEntryType[src]

impl Copy for DirectoryEntryType[src]

impl Debug for DirectoryEntryType[src]

impl Eq for DirectoryEntryType[src]

impl PartialEq<DirectoryEntryType> for DirectoryEntryType[src]

impl StructuralEq for DirectoryEntryType[src]

impl StructuralPartialEq for DirectoryEntryType[src]

Auto Trait Implementations

impl RefUnwindSafe for DirectoryEntryType

impl Send for DirectoryEntryType

impl Sync for DirectoryEntryType

impl Unpin for DirectoryEntryType

impl UnwindSafe for DirectoryEntryType

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> SizedIPCBuffer for 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.