pub enum CpioEntryKind {
File,
Directory,
Symlink,
Device,
Fifo,
Socket,
Unknown,
}Expand description
CPIO entry kind labels.
Variants§
File
File entry.
Directory
Directory entry.
Symlink
Symbolic link entry.
Device
Device entry.
Fifo
FIFO entry.
Socket
Socket entry.
Unknown
Unknown or unsupported CPIO entry kind.
Implementations§
Trait Implementations§
Source§impl Clone for CpioEntryKind
impl Clone for CpioEntryKind
Source§fn clone(&self) -> CpioEntryKind
fn clone(&self) -> CpioEntryKind
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 CpioEntryKind
impl Debug for CpioEntryKind
Source§impl Default for CpioEntryKind
impl Default for CpioEntryKind
Source§fn default() -> CpioEntryKind
fn default() -> CpioEntryKind
Returns the “default value” for a type. Read more
Source§impl Display for CpioEntryKind
impl Display for CpioEntryKind
Source§impl Hash for CpioEntryKind
impl Hash for CpioEntryKind
Source§impl Ord for CpioEntryKind
impl Ord for CpioEntryKind
Source§fn cmp(&self, other: &CpioEntryKind) -> Ordering
fn cmp(&self, other: &CpioEntryKind) -> 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 CpioEntryKind
impl PartialEq for CpioEntryKind
Source§fn eq(&self, other: &CpioEntryKind) -> bool
fn eq(&self, other: &CpioEntryKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CpioEntryKind
impl PartialOrd for CpioEntryKind
impl Copy for CpioEntryKind
impl Eq for CpioEntryKind
impl StructuralPartialEq for CpioEntryKind
Auto Trait Implementations§
impl Freeze for CpioEntryKind
impl RefUnwindSafe for CpioEntryKind
impl Send for CpioEntryKind
impl Sync for CpioEntryKind
impl Unpin for CpioEntryKind
impl UnsafeUnpin for CpioEntryKind
impl UnwindSafe for CpioEntryKind
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