pub enum ArchiveFormat {
Tar(Option<Compression>),
Plain(Option<Compression>),
Zip,
}
Expand description
The supported archive formats.
Variants§
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 PartialEq for ArchiveFormat
impl PartialEq for ArchiveFormat
impl Copy for ArchiveFormat
impl StructuralPartialEq for ArchiveFormat
Auto Trait Implementations§
impl Freeze for ArchiveFormat
impl RefUnwindSafe for ArchiveFormat
impl Send for ArchiveFormat
impl Sync for ArchiveFormat
impl Unpin for ArchiveFormat
impl UnwindSafe for ArchiveFormat
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more