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