pub struct TerminateExecution {
pub method: TerminateExecutionMethod,
pub params: TerminateExecutionParams,
}Expand description
Terminate current or next JavaScript execution. Will cancel the termination when the outer-most script execution ends. terminateExecution
Fields§
§method: TerminateExecutionMethod§params: TerminateExecutionParamsImplementations§
Source§impl TerminateExecution
impl TerminateExecution
pub fn builder() -> TerminateExecutionBuilder
Source§impl TerminateExecution
impl TerminateExecution
pub const IDENTIFIER: &'static str = "Runtime.terminateExecution"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for TerminateExecution
impl Clone for TerminateExecution
Source§fn clone(&self) -> TerminateExecution
fn clone(&self) -> TerminateExecution
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 TerminateExecution
impl CommandResult for TerminateExecution
type Result = TerminateExecutionResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for TerminateExecution
impl Debug for TerminateExecution
Source§impl<'de> Deserialize<'de> for TerminateExecution
impl<'de> Deserialize<'de> for TerminateExecution
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<TerminateExecution> for Command
impl From<TerminateExecution> for Command
Source§fn from(v: TerminateExecution) -> Self
fn from(v: TerminateExecution) -> Self
Converts to this type from the input type.
Source§impl From<TerminateExecution> for JsProtocolCommands
impl From<TerminateExecution> for JsProtocolCommands
Source§fn from(v: TerminateExecution) -> Self
fn from(v: TerminateExecution) -> Self
Converts to this type from the input type.
Source§impl From<TerminateExecution> for RuntimeCommands
impl From<TerminateExecution> for RuntimeCommands
Source§fn from(v: TerminateExecution) -> Self
fn from(v: TerminateExecution) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TerminateExecution
impl PartialEq for TerminateExecution
Source§impl Serialize for TerminateExecution
impl Serialize for TerminateExecution
Source§impl TryFrom<Command> for TerminateExecution
impl TryFrom<Command> for TerminateExecution
Source§impl TryFrom<JsProtocolCommands> for TerminateExecution
impl TryFrom<JsProtocolCommands> for TerminateExecution
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, <TerminateExecution as TryFrom<JsProtocolCommands>>::Error>
fn try_from( e: JsProtocolCommands, ) -> Result<Self, <TerminateExecution as TryFrom<JsProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<RuntimeCommands> for TerminateExecution
impl TryFrom<RuntimeCommands> for TerminateExecution
Source§type Error = RuntimeCommands
type Error = RuntimeCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: RuntimeCommands,
) -> Result<Self, <TerminateExecution as TryFrom<RuntimeCommands>>::Error>
fn try_from( e: RuntimeCommands, ) -> Result<Self, <TerminateExecution as TryFrom<RuntimeCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for TerminateExecution
Auto Trait Implementations§
impl Freeze for TerminateExecution
impl RefUnwindSafe for TerminateExecution
impl Send for TerminateExecution
impl Sync for TerminateExecution
impl Unpin for TerminateExecution
impl UnsafeUnpin for TerminateExecution
impl UnwindSafe for TerminateExecution
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