Enum CpioFormat
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§
§impl CpioFormat
impl CpioFormat
Trait Implementations§
§impl Clone for CpioFormat
impl Clone for CpioFormat
§fn clone(&self) -> CpioFormat
fn clone(&self) -> CpioFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CpioFormat
impl Debug for CpioFormat
§impl Default for CpioFormat
impl Default for CpioFormat
§fn default() -> CpioFormat
fn default() -> CpioFormat
Returns the “default value” for a type. Read more
§impl Display for CpioFormat
impl Display for CpioFormat
§impl Hash for CpioFormat
impl Hash for CpioFormat
§impl Ord for CpioFormat
impl Ord for CpioFormat
§impl PartialEq for CpioFormat
impl PartialEq for CpioFormat
§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