pub enum ProfilerCommands {
Disable(Disable),
Enable(Enable),
GetBestEffortCoverage(GetBestEffortCoverage),
SetSamplingInterval(SetSamplingInterval),
Start(Start),
StartPreciseCoverage(StartPreciseCoverage),
Stop(Stop),
StopPreciseCoverage(StopPreciseCoverage),
TakePreciseCoverage(TakePreciseCoverage),
}Variants§
Disable(Disable)
Enable(Enable)
GetBestEffortCoverage(GetBestEffortCoverage)
SetSamplingInterval(SetSamplingInterval)
Start(Start)
StartPreciseCoverage(StartPreciseCoverage)
Stop(Stop)
StopPreciseCoverage(StopPreciseCoverage)
TakePreciseCoverage(TakePreciseCoverage)
Implementations§
Source§impl ProfilerCommands
impl ProfilerCommands
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ProfilerCommands
impl Clone for ProfilerCommands
Source§fn clone(&self) -> ProfilerCommands
fn clone(&self) -> ProfilerCommands
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 ProfilerCommands
impl Debug for ProfilerCommands
Source§impl<'de> Deserialize<'de> for ProfilerCommands
impl<'de> Deserialize<'de> for ProfilerCommands
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<Disable> for ProfilerCommands
impl From<Disable> for ProfilerCommands
Source§impl From<Enable> for ProfilerCommands
impl From<Enable> for ProfilerCommands
Source§impl From<GetBestEffortCoverage> for ProfilerCommands
impl From<GetBestEffortCoverage> for ProfilerCommands
Source§fn from(v: GetBestEffortCoverage) -> Self
fn from(v: GetBestEffortCoverage) -> Self
Converts to this type from the input type.
Source§impl From<ProfilerCommands> for Command
impl From<ProfilerCommands> for Command
Source§fn from(v: ProfilerCommands) -> Self
fn from(v: ProfilerCommands) -> Self
Converts to this type from the input type.
Source§impl From<ProfilerCommands> for JsProtocolCommands
impl From<ProfilerCommands> for JsProtocolCommands
Source§fn from(v: ProfilerCommands) -> Self
fn from(v: ProfilerCommands) -> Self
Converts to this type from the input type.
Source§impl From<SetSamplingInterval> for ProfilerCommands
impl From<SetSamplingInterval> for ProfilerCommands
Source§fn from(v: SetSamplingInterval) -> Self
fn from(v: SetSamplingInterval) -> Self
Converts to this type from the input type.
Source§impl From<Start> for ProfilerCommands
impl From<Start> for ProfilerCommands
Source§impl From<StartPreciseCoverage> for ProfilerCommands
impl From<StartPreciseCoverage> for ProfilerCommands
Source§fn from(v: StartPreciseCoverage) -> Self
fn from(v: StartPreciseCoverage) -> Self
Converts to this type from the input type.
Source§impl From<Stop> for ProfilerCommands
impl From<Stop> for ProfilerCommands
Source§impl From<StopPreciseCoverage> for ProfilerCommands
impl From<StopPreciseCoverage> for ProfilerCommands
Source§fn from(v: StopPreciseCoverage) -> Self
fn from(v: StopPreciseCoverage) -> 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 ProfilerCommands
impl PartialEq for ProfilerCommands
Source§impl Serialize for ProfilerCommands
impl Serialize for ProfilerCommands
Source§impl TryFrom<Command> for ProfilerCommands
impl TryFrom<Command> for ProfilerCommands
Source§impl TryFrom<JsProtocolCommands> for ProfilerCommands
impl TryFrom<JsProtocolCommands> for ProfilerCommands
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, <ProfilerCommands as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <ProfilerCommands as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for Disable
impl TryFrom<ProfilerCommands> for Disable
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, <Disable as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <Disable as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for Enable
impl TryFrom<ProfilerCommands> for Enable
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, <Enable as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <Enable as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for GetBestEffortCoverage
impl TryFrom<ProfilerCommands> for GetBestEffortCoverage
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, <GetBestEffortCoverage as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <GetBestEffortCoverage as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for SetSamplingInterval
impl TryFrom<ProfilerCommands> for SetSamplingInterval
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, <SetSamplingInterval as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <SetSamplingInterval as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for Start
impl TryFrom<ProfilerCommands> for Start
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, <Start as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <Start as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for StartPreciseCoverage
impl TryFrom<ProfilerCommands> for StartPreciseCoverage
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, <StartPreciseCoverage as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <StartPreciseCoverage as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for Stop
impl TryFrom<ProfilerCommands> for Stop
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, <Stop as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <Stop as TryFrom<ProfilerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<ProfilerCommands> for StopPreciseCoverage
impl TryFrom<ProfilerCommands> for StopPreciseCoverage
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, <StopPreciseCoverage as TryFrom<ProfilerCommands>>::Error>
fn try_from( e: ProfilerCommands, ) -> Result<Self, <StopPreciseCoverage as TryFrom<ProfilerCommands>>::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 ProfilerCommands
Auto Trait Implementations§
impl Freeze for ProfilerCommands
impl RefUnwindSafe for ProfilerCommands
impl Send for ProfilerCommands
impl Sync for ProfilerCommands
impl Unpin for ProfilerCommands
impl UnsafeUnpin for ProfilerCommands
impl UnwindSafe for ProfilerCommands
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