pub enum MtreeEntryKind {
File,
Directory,
Link,
Device,
Unknown,
}Expand description
mtree entry kind labels.
Variants§
File
File entry.
Directory
Directory entry.
Link
Link entry.
Device
Device entry.
Unknown
Unknown or unsupported entry kind.
Implementations§
Trait Implementations§
Source§impl Clone for MtreeEntryKind
impl Clone for MtreeEntryKind
Source§fn clone(&self) -> MtreeEntryKind
fn clone(&self) -> MtreeEntryKind
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 moreSource§impl Debug for MtreeEntryKind
impl Debug for MtreeEntryKind
Source§impl Default for MtreeEntryKind
impl Default for MtreeEntryKind
Source§fn default() -> MtreeEntryKind
fn default() -> MtreeEntryKind
Returns the “default value” for a type. Read more
Source§impl Display for MtreeEntryKind
impl Display for MtreeEntryKind
Source§impl Hash for MtreeEntryKind
impl Hash for MtreeEntryKind
Source§impl Ord for MtreeEntryKind
impl Ord for MtreeEntryKind
Source§fn cmp(&self, other: &MtreeEntryKind) -> Ordering
fn cmp(&self, other: &MtreeEntryKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MtreeEntryKind
impl PartialEq for MtreeEntryKind
Source§fn eq(&self, other: &MtreeEntryKind) -> bool
fn eq(&self, other: &MtreeEntryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MtreeEntryKind
impl PartialOrd for MtreeEntryKind
impl Copy for MtreeEntryKind
impl Eq for MtreeEntryKind
impl StructuralPartialEq for MtreeEntryKind
Auto Trait Implementations§
impl Freeze for MtreeEntryKind
impl RefUnwindSafe for MtreeEntryKind
impl Send for MtreeEntryKind
impl Sync for MtreeEntryKind
impl Unpin for MtreeEntryKind
impl UnsafeUnpin for MtreeEntryKind
impl UnwindSafe for MtreeEntryKind
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