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