pub enum BrowserEvents {
DownloadWillBegin(DownloadWillBegin),
DownloadProgress(DownloadProgress),
}Variants§
DownloadWillBegin(DownloadWillBegin)
DownloadProgress(DownloadProgress)
Implementations§
Source§impl BrowserEvents
impl BrowserEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for BrowserEvents
impl Clone for BrowserEvents
Source§fn clone(&self) -> BrowserEvents
fn clone(&self) -> BrowserEvents
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BrowserEvents
impl Debug for BrowserEvents
Source§impl<'de> Deserialize<'de> for BrowserEvents
impl<'de> Deserialize<'de> for BrowserEvents
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
Source§impl From<BrowserEvents> for BrowserProtocolEvents
impl From<BrowserEvents> for BrowserProtocolEvents
Source§fn from(v: BrowserEvents) -> Self
fn from(v: BrowserEvents) -> Self
Converts to this type from the input type.
Source§impl From<BrowserEvents> for Event
impl From<BrowserEvents> for Event
Source§fn from(v: BrowserEvents) -> Self
fn from(v: BrowserEvents) -> Self
Converts to this type from the input type.
Source§impl From<DownloadProgress> for BrowserEvents
impl From<DownloadProgress> for BrowserEvents
Source§fn from(v: DownloadProgress) -> Self
fn from(v: DownloadProgress) -> Self
Converts to this type from the input type.
Source§impl From<DownloadWillBegin> for BrowserEvents
impl From<DownloadWillBegin> for BrowserEvents
Source§fn from(v: DownloadWillBegin) -> Self
fn from(v: DownloadWillBegin) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BrowserEvents
impl PartialEq for BrowserEvents
Source§impl Serialize for BrowserEvents
impl Serialize for BrowserEvents
Source§impl TryFrom<BrowserEvents> for DownloadProgress
impl TryFrom<BrowserEvents> for DownloadProgress
Source§type Error = BrowserEvents
type Error = BrowserEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserEvents,
) -> Result<Self, <DownloadProgress as TryFrom<BrowserEvents>>::Error>
fn try_from( e: BrowserEvents, ) -> Result<Self, <DownloadProgress as TryFrom<BrowserEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserEvents> for DownloadWillBegin
impl TryFrom<BrowserEvents> for DownloadWillBegin
Source§type Error = BrowserEvents
type Error = BrowserEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserEvents,
) -> Result<Self, <DownloadWillBegin as TryFrom<BrowserEvents>>::Error>
fn try_from( e: BrowserEvents, ) -> Result<Self, <DownloadWillBegin as TryFrom<BrowserEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolEvents> for BrowserEvents
impl TryFrom<BrowserProtocolEvents> for BrowserEvents
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <BrowserEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <BrowserEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for BrowserEvents
impl TryFrom<Event> for BrowserEvents
impl StructuralPartialEq for BrowserEvents
Auto Trait Implementations§
impl Freeze for BrowserEvents
impl RefUnwindSafe for BrowserEvents
impl Send for BrowserEvents
impl Sync for BrowserEvents
impl Unpin for BrowserEvents
impl UnsafeUnpin for BrowserEvents
impl UnwindSafe for BrowserEvents
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