#[non_exhaustive]pub enum FormatId {
Tar,
Cpio,
Ar,
Zip,
SevenZip,
Iso9660,
}Expand description
Stable, extensible identifier for a built-in archive format.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tar
POSIX tar and its ustar/PAX/GNU dialects.
Cpio
cpio.
Ar
Unix ar and thin ar.
Zip
ZIP.
SevenZip
7-Zip.
Iso9660
ISO 9660.
Implementations§
Trait Implementations§
impl Copy for FormatId
impl Eq for FormatId
impl StructuralPartialEq for FormatId
Auto Trait Implementations§
impl Freeze for FormatId
impl RefUnwindSafe for FormatId
impl Send for FormatId
impl Sync for FormatId
impl Unpin for FormatId
impl UnsafeUnpin for FormatId
impl UnwindSafe for FormatId
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