pub struct TakePreciseCoverage {
pub method: TakePreciseCoverageMethod,
pub params: TakePreciseCoverageParams,
}Expand description
Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. takePreciseCoverage
Fields§
§method: TakePreciseCoverageMethod§params: TakePreciseCoverageParamsImplementations§
Source§impl TakePreciseCoverage
impl TakePreciseCoverage
pub fn builder() -> TakePreciseCoverageBuilder
Source§impl TakePreciseCoverage
impl TakePreciseCoverage
pub const IDENTIFIER: &'static str = "Profiler.takePreciseCoverage"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for TakePreciseCoverage
impl Clone for TakePreciseCoverage
Source§fn clone(&self) -> TakePreciseCoverage
fn clone(&self) -> TakePreciseCoverage
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 CommandResult for TakePreciseCoverage
impl CommandResult for TakePreciseCoverage
type Result = TakePreciseCoverageResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for TakePreciseCoverage
impl Debug for TakePreciseCoverage
Source§impl<'de> Deserialize<'de> for TakePreciseCoverage
impl<'de> Deserialize<'de> for TakePreciseCoverage
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<TakePreciseCoverage> for Command
impl From<TakePreciseCoverage> for Command
Source§fn from(v: TakePreciseCoverage) -> Self
fn from(v: TakePreciseCoverage) -> Self
Converts to this type from the input type.
Source§impl From<TakePreciseCoverage> for JsProtocolCommands
impl From<TakePreciseCoverage> for JsProtocolCommands
Source§fn from(v: TakePreciseCoverage) -> Self
fn from(v: TakePreciseCoverage) -> Self
Converts to this type from the input type.
Source§impl From<TakePreciseCoverage> for ProfilerCommands
impl From<TakePreciseCoverage> for ProfilerCommands
Source§fn from(v: TakePreciseCoverage) -> Self
fn from(v: TakePreciseCoverage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TakePreciseCoverage
impl PartialEq for TakePreciseCoverage
Source§impl Serialize for TakePreciseCoverage
impl Serialize for TakePreciseCoverage
Source§impl TryFrom<Command> for TakePreciseCoverage
impl TryFrom<Command> for TakePreciseCoverage
Source§impl TryFrom<JsProtocolCommands> for TakePreciseCoverage
impl TryFrom<JsProtocolCommands> for TakePreciseCoverage
Source§type Error = JsProtocolCommands
type Error = JsProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: JsProtocolCommands,
) -> Result<Self, <TakePreciseCoverage as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <TakePreciseCoverage as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for TakePreciseCoverage
impl TryFrom<ProfilerCommands> for TakePreciseCoverage
Source§type Error = ProfilerCommands
type Error = ProfilerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: ProfilerCommands,
) -> Result<Self, <TakePreciseCoverage as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <TakePreciseCoverage as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for TakePreciseCoverage
Auto Trait Implementations§
impl Freeze for TakePreciseCoverage
impl RefUnwindSafe for TakePreciseCoverage
impl Send for TakePreciseCoverage
impl Sync for TakePreciseCoverage
impl Unpin for TakePreciseCoverage
impl UnsafeUnpin for TakePreciseCoverage
impl UnwindSafe for TakePreciseCoverage
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