pub enum DownloadStatus {
Ready(Vec<u8>),
Processing,
Failed(Error),
}
Expand description
Represents the result of a call to download
.
Variants§
Ready(Vec<u8>)
The obfuscated file is ready and contains the returned bytes.
Processing
The obfuscation is still in progress.
Failed(Error)
The download failed due to a network or server error.
Auto Trait Implementations§
impl Freeze for DownloadStatus
impl !RefUnwindSafe for DownloadStatus
impl Send for DownloadStatus
impl Sync for DownloadStatus
impl Unpin for DownloadStatus
impl !UnwindSafe for DownloadStatus
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