pub enum TarBasedFmt {
Tar,
Tbz2,
Tgz,
Txz,
Tzstd,
}
Variants§
Tar
Download format is TAR (uncompressed)
Tbz2
Download format is TAR + Bzip2
Tgz
Download format is TGZ (TAR + GZip)
Txz
Download format is TAR + XZ
Tzstd
Download format is TAR + Zstd
Trait Implementations§
source§impl Clone for TarBasedFmt
impl Clone for TarBasedFmt
source§fn clone(&self) -> TarBasedFmt
fn clone(&self) -> TarBasedFmt
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 TarBasedFmt
impl Debug for TarBasedFmt
source§impl Display for TarBasedFmt
impl Display for TarBasedFmt
source§impl From<TarBasedFmt> for PkgFmt
impl From<TarBasedFmt> for PkgFmt
source§fn from(fmt: TarBasedFmt) -> PkgFmt
fn from(fmt: TarBasedFmt) -> PkgFmt
Converts to this type from the input type.
source§impl PartialEq for TarBasedFmt
impl PartialEq for TarBasedFmt
source§fn eq(&self, other: &TarBasedFmt) -> bool
fn eq(&self, other: &TarBasedFmt) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TarBasedFmt
impl Eq for TarBasedFmt
impl StructuralPartialEq for TarBasedFmt
Auto Trait Implementations§
impl RefUnwindSafe for TarBasedFmt
impl Send for TarBasedFmt
impl Sync for TarBasedFmt
impl Unpin for TarBasedFmt
impl UnwindSafe for TarBasedFmt
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString
. Read more