pub enum DownloadEvent<'a> {
Requested {
url: Url,
destination: &'a mut PathBuf,
},
Finished {
url: Url,
path: Option<PathBuf>,
success: bool,
},
}
Expand description
Download event.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for DownloadEvent<'a>
impl<'a> RefUnwindSafe for DownloadEvent<'a>
impl<'a> Send for DownloadEvent<'a>
impl<'a> Sync for DownloadEvent<'a>
impl<'a> Unpin for DownloadEvent<'a>
impl<'a> !UnwindSafe for DownloadEvent<'a>
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