#[repr(u8)]pub enum DownloadedFileType {
Gzip = 0,
GzipTar = 1,
Zip = 2,
Uncompressed = 3,
}
Expand description
The type of a downloaded file.
Variants§
Gzip = 0
A gzipped file (.gz
).
GzipTar = 1
A gzipped tar archive (.tar.gz
).
Zip = 2
A ZIP file (.zip
).
Uncompressed = 3
An uncompressed file.
Trait Implementations§
Source§impl Clone for DownloadedFileType
impl Clone for DownloadedFileType
Source§fn clone(&self) -> DownloadedFileType
fn clone(&self) -> DownloadedFileType
Returns a duplicate 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 DownloadedFileType
impl Debug for DownloadedFileType
Source§impl Ord for DownloadedFileType
impl Ord for DownloadedFileType
Source§fn cmp(&self, other: &DownloadedFileType) -> Ordering
fn cmp(&self, other: &DownloadedFileType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DownloadedFileType
impl PartialEq for DownloadedFileType
Source§impl PartialOrd for DownloadedFileType
impl PartialOrd for DownloadedFileType
impl Copy for DownloadedFileType
impl Eq for DownloadedFileType
impl StructuralPartialEq for DownloadedFileType
Auto Trait Implementations§
impl Freeze for DownloadedFileType
impl RefUnwindSafe for DownloadedFileType
impl Send for DownloadedFileType
impl Sync for DownloadedFileType
impl Unpin for DownloadedFileType
impl UnwindSafe for DownloadedFileType
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