pub enum PrintablePerms {
IsDir,
IsExecutable,
IsFile,
}Variants§
Implementations§
Source§impl PrintablePerms
impl PrintablePerms
pub fn from_metadata(perms: InodeMetadata) -> Self
pub fn to_metadata(self) -> InodeMetadata
Trait Implementations§
Source§impl Clone for PrintablePerms
impl Clone for PrintablePerms
Source§fn clone(&self) -> PrintablePerms
fn clone(&self) -> PrintablePerms
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PrintablePerms
Source§impl Debug for PrintablePerms
impl Debug for PrintablePerms
Source§impl Display for PrintablePerms
impl Display for PrintablePerms
impl Eq for PrintablePerms
Source§impl PartialEq for PrintablePerms
impl PartialEq for PrintablePerms
impl StructuralPartialEq for PrintablePerms
Auto Trait Implementations§
impl Freeze for PrintablePerms
impl RefUnwindSafe for PrintablePerms
impl Send for PrintablePerms
impl Sync for PrintablePerms
impl Unpin for PrintablePerms
impl UnsafeUnpin for PrintablePerms
impl UnwindSafe for PrintablePerms
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.