pub enum CpioFormat {
Binary,
OldAscii,
NewAscii,
CrcAscii,
Unknown,
}Expand description
CPIO format variant labels.
Variants§
Binary
Binary CPIO format.
OldAscii
Old ASCII CPIO format.
NewAscii
New ASCII CPIO format.
CrcAscii
New ASCII CPIO format with CRC metadata.
Unknown
Unknown or intentionally unspecified CPIO format.
Implementations§
Trait Implementations§
Source§impl Clone for CpioFormat
impl Clone for CpioFormat
Source§fn clone(&self) -> CpioFormat
fn clone(&self) -> CpioFormat
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 CpioFormat
impl Debug for CpioFormat
Source§impl Default for CpioFormat
impl Default for CpioFormat
Source§fn default() -> CpioFormat
fn default() -> CpioFormat
Returns the “default value” for a type. Read more
Source§impl Display for CpioFormat
impl Display for CpioFormat
Source§impl Hash for CpioFormat
impl Hash for CpioFormat
Source§impl Ord for CpioFormat
impl Ord for CpioFormat
Source§fn cmp(&self, other: &CpioFormat) -> Ordering
fn cmp(&self, other: &CpioFormat) -> 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 CpioFormat
impl PartialEq for CpioFormat
Source§fn eq(&self, other: &CpioFormat) -> bool
fn eq(&self, other: &CpioFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CpioFormat
impl PartialOrd for CpioFormat
impl Copy for CpioFormat
impl Eq for CpioFormat
impl StructuralPartialEq for CpioFormat
Auto Trait Implementations§
impl Freeze for CpioFormat
impl RefUnwindSafe for CpioFormat
impl Send for CpioFormat
impl Sync for CpioFormat
impl Unpin for CpioFormat
impl UnsafeUnpin for CpioFormat
impl UnwindSafe for CpioFormat
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