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