pub struct PreciseCoverageDeltaUpdate {
pub method: PreciseCoverageDeltaUpdateMethod,
pub params: PreciseCoverageDeltaUpdateParams,
}Expand description
Reports coverage delta since the last poll (either from an event like this, or from
takePreciseCoverage for the current isolate. May only be sent if precise code
coverage has been started. This event can be trigged by the embedder to, for example,
trigger collection of coverage data immediately at a certain point in time.
preciseCoverageDeltaUpdate
Fields§
§method: PreciseCoverageDeltaUpdateMethod§params: PreciseCoverageDeltaUpdateParamsImplementations§
Source§impl PreciseCoverageDeltaUpdate
impl PreciseCoverageDeltaUpdate
pub const IDENTIFIER: &'static str = "Profiler.preciseCoverageDeltaUpdate"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for PreciseCoverageDeltaUpdate
impl Clone for PreciseCoverageDeltaUpdate
Source§fn clone(&self) -> PreciseCoverageDeltaUpdate
fn clone(&self) -> PreciseCoverageDeltaUpdate
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 PreciseCoverageDeltaUpdate
impl Debug for PreciseCoverageDeltaUpdate
Source§impl<'de> Deserialize<'de> for PreciseCoverageDeltaUpdate
impl<'de> Deserialize<'de> for PreciseCoverageDeltaUpdate
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<PreciseCoverageDeltaUpdate> for Event
impl From<PreciseCoverageDeltaUpdate> for Event
Source§fn from(v: PreciseCoverageDeltaUpdate) -> Self
fn from(v: PreciseCoverageDeltaUpdate) -> Self
Converts to this type from the input type.
Source§impl From<PreciseCoverageDeltaUpdate> for JsProtocolEvents
impl From<PreciseCoverageDeltaUpdate> for JsProtocolEvents
Source§fn from(v: PreciseCoverageDeltaUpdate) -> Self
fn from(v: PreciseCoverageDeltaUpdate) -> 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 TryFrom<Event> for PreciseCoverageDeltaUpdate
impl TryFrom<Event> for PreciseCoverageDeltaUpdate
Source§impl TryFrom<JsProtocolEvents> for PreciseCoverageDeltaUpdate
impl TryFrom<JsProtocolEvents> for PreciseCoverageDeltaUpdate
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, <PreciseCoverageDeltaUpdate as TryFrom<JsProtocolEvents>>::Error>
fn try_from( e: JsProtocolEvents, ) -> Result<Self, <PreciseCoverageDeltaUpdate as TryFrom<JsProtocolEvents>>::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 PreciseCoverageDeltaUpdate
Auto Trait Implementations§
impl Freeze for PreciseCoverageDeltaUpdate
impl RefUnwindSafe for PreciseCoverageDeltaUpdate
impl Send for PreciseCoverageDeltaUpdate
impl Sync for PreciseCoverageDeltaUpdate
impl Unpin for PreciseCoverageDeltaUpdate
impl UnsafeUnpin for PreciseCoverageDeltaUpdate
impl UnwindSafe for PreciseCoverageDeltaUpdate
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