pub struct Pause {
pub method: PauseMethod,
pub params: PauseParams,
}Expand description
Stops on the next JavaScript statement. pause
Fields§
§method: PauseMethod§params: PauseParamsImplementations§
Source§impl Pause
impl Pause
pub const IDENTIFIER: &'static str = "Debugger.pause"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Pause
impl CommandResult for Pause
type Result = PauseResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Pause
impl<'de> Deserialize<'de> for Pause
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<Pause> for DebuggerCommands
impl From<Pause> for DebuggerCommands
Source§impl From<Pause> for JsProtocolCommands
impl From<Pause> for JsProtocolCommands
Source§impl TryFrom<DebuggerCommands> for Pause
impl TryFrom<DebuggerCommands> for Pause
Source§type Error = DebuggerCommands
type Error = DebuggerCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DebuggerCommands,
) -> Result<Self, <Pause as TryFrom<DebuggerCommands>>::Error>
fn try_from( e: DebuggerCommands, ) -> Result<Self, <Pause as TryFrom<DebuggerCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<JsProtocolCommands> for Pause
impl TryFrom<JsProtocolCommands> for Pause
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, <Pause as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <Pause as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Pause
Auto Trait Implementations§
impl Freeze for Pause
impl RefUnwindSafe for Pause
impl Send for Pause
impl Sync for Pause
impl Unpin for Pause
impl UnsafeUnpin for Pause
impl UnwindSafe for Pause
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