Enum webview2_sys::DownloadState [−][src]
#[repr(u32)]
pub enum DownloadState {
InProgress,
Interrupted,
Completed,
}
Expand description
State of the download operation.
Variants
The download is in progress.
The connection with the file host was broken. The InterruptReason
property
can be accessed from ICoreWebView2DownloadOperation
. See
COREWEBVIEW2_DOWNLOAD_INTERRUPT_REASON
for descriptions of kinds of
interrupt reasons. Host can check whether an interrupted download can be
resumed with the CanResume
property on the ICoreWebView2DownloadOperation
.
Once resumed, a download is in the COREWEBVIEW2_DOWNLOAD_STATE_IN_PROGRESS
state.
The download completed successfully.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DownloadState
impl Send for DownloadState
impl Sync for DownloadState
impl Unpin for DownloadState
impl UnwindSafe for DownloadState
Blanket Implementations
Mutably borrows from an owned value. Read more