pub enum DownloadProgressState {
InProgress,
Completed,
Canceled,
Unrecognized(String),
}Expand description
The values state accepts on downloadProgress.
Variants§
InProgress
inProgress
Completed
completed
Canceled
canceled
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for DownloadProgressState
impl Clone for DownloadProgressState
Source§impl Debug for DownloadProgressState
impl Debug for DownloadProgressState
Source§impl<'de> Deserialize<'de> for DownloadProgressState
impl<'de> Deserialize<'de> for DownloadProgressState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DownloadProgressState
Source§impl Hash for DownloadProgressState
impl Hash for DownloadProgressState
Source§impl PartialEq for DownloadProgressState
impl PartialEq for DownloadProgressState
Source§impl Serialize for DownloadProgressState
impl Serialize for DownloadProgressState
impl StructuralPartialEq for DownloadProgressState
Auto Trait Implementations§
impl Forget for DownloadProgressState
impl Freeze for DownloadProgressState
impl RefUnwindSafe for DownloadProgressState
impl Send for DownloadProgressState
impl Sync for DownloadProgressState
impl Unpin for DownloadProgressState
impl UnsafeUnpin for DownloadProgressState
impl UnwindSafe for DownloadProgressState
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