pub enum ArchiveFormat {
TarBzip2,
TarGzip,
TarZstd,
TarLz4,
Tar,
}
Expand description
The different archive formats used for snapshots
Variants
TarBzip2
TarGzip
TarZstd
TarLz4
Tar
Implementations
sourceimpl ArchiveFormat
impl ArchiveFormat
pub fn from_cli_arg(archive_format_str: &str) -> Option<ArchiveFormat>
Trait Implementations
sourceimpl Clone for ArchiveFormat
impl Clone for ArchiveFormat
sourcefn clone(&self) -> ArchiveFormat
fn clone(&self) -> ArchiveFormat
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ArchiveFormat
impl Debug for ArchiveFormat
sourceimpl Display for ArchiveFormat
impl Display for ArchiveFormat
sourceimpl FromStr for ArchiveFormat
impl FromStr for ArchiveFormat
sourceimpl PartialEq<ArchiveFormat> for ArchiveFormat
impl PartialEq<ArchiveFormat> for ArchiveFormat
sourcefn eq(&self, other: &ArchiveFormat) -> bool
fn eq(&self, other: &ArchiveFormat) -> bool
sourceimpl 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
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.