pub struct Crash {
pub method: CrashMethod,
pub params: CrashParams,
}Expand description
Crashes renderer on the IO thread, generates minidumps. crash
Fields§
§method: CrashMethod§params: CrashParamsImplementations§
Source§impl Crash
impl Crash
pub const IDENTIFIER: &'static str = "Page.crash"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for Crash
impl CommandResult for Crash
type Result = CrashResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for Crash
impl<'de> Deserialize<'de> for Crash
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<Crash> for BrowserProtocolCommands
impl From<Crash> for BrowserProtocolCommands
Source§impl From<Crash> for PageCommands
impl From<Crash> for PageCommands
Source§impl TryFrom<BrowserProtocolCommands> for Crash
impl TryFrom<BrowserProtocolCommands> for Crash
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <Crash as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <Crash as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<PageCommands> for Crash
impl TryFrom<PageCommands> for Crash
Source§type Error = PageCommands
type Error = PageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageCommands,
) -> Result<Self, <Crash as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <Crash as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for Crash
Auto Trait Implementations§
impl Freeze for Crash
impl RefUnwindSafe for Crash
impl Send for Crash
impl Sync for Crash
impl Unpin for Crash
impl UnsafeUnpin for Crash
impl UnwindSafe for Crash
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