pub struct DownloadOutcome {
pub path: PathBuf,
pub success: bool,
}Expand description
A finished (or failed) download, passed to WebView::on_download_finished.
Fields§
§path: PathBufWhere the file was written.
success: boolWhether the download completed successfully.
Trait Implementations§
Source§impl Clone for DownloadOutcome
impl Clone for DownloadOutcome
Auto Trait Implementations§
impl Freeze for DownloadOutcome
impl RefUnwindSafe for DownloadOutcome
impl Send for DownloadOutcome
impl Sync for DownloadOutcome
impl Unpin for DownloadOutcome
impl UnsafeUnpin for DownloadOutcome
impl UnwindSafe for DownloadOutcome
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