pub enum ArchiveFormat {
TarBzip2,
TarGzip,
TarZstd,
TarLz4,
Tar,
}
Expand description
The different archive formats used for snapshots
Variants§
Implementations§
source§impl ArchiveFormat
impl ArchiveFormat
pub fn from_cli_arg(archive_format_str: &str) -> Option<ArchiveFormat>
Trait Implementations§
source§impl Clone for ArchiveFormat
impl Clone for ArchiveFormat
source§fn clone(&self) -> ArchiveFormat
fn clone(&self) -> ArchiveFormat
Returns a copy 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 moresource§impl Debug for ArchiveFormat
impl Debug for ArchiveFormat
source§impl Display for ArchiveFormat
impl Display for ArchiveFormat
source§impl FromStr for ArchiveFormat
impl FromStr for ArchiveFormat
source§impl PartialEq<ArchiveFormat> for ArchiveFormat
impl PartialEq<ArchiveFormat> for ArchiveFormat
source§fn eq(&self, other: &ArchiveFormat) -> bool
fn eq(&self, other: &ArchiveFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for ArchiveFormat
impl TryFrom<&str> for ArchiveFormat
impl Copy for ArchiveFormat
impl Eq for ArchiveFormat
impl StructuralEq for ArchiveFormat
impl StructuralPartialEq for ArchiveFormat
Auto Trait Implementations§
impl RefUnwindSafe for ArchiveFormat
impl Send for ArchiveFormat
impl Sync for ArchiveFormat
impl Unpin for ArchiveFormat
impl UnwindSafe for ArchiveFormat
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.