pub struct Stop {
pub method: StopMethod,
pub params: StopParams,
}Fields§
§method: StopMethod§params: StopParamsImplementations§
Source§impl Stop
impl Stop
pub const IDENTIFIER: &'static str = "Profiler.stop"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Stop
impl CommandResult for Stop
type Result = StopResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Stop
impl<'de> Deserialize<'de> for Stop
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<Stop> for JsProtocolCommands
impl From<Stop> for JsProtocolCommands
Source§impl From<Stop> for ProfilerCommands
impl From<Stop> for ProfilerCommands
Source§impl TryFrom<JsProtocolCommands> for Stop
impl TryFrom<JsProtocolCommands> for Stop
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, <Stop as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <Stop as TryFrom<JsProtocolCommands>>::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.
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnsafeUnpin for Stop
impl UnwindSafe for Stop
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