pub struct Detached {
pub method: DetachedMethod,
pub params: DetachedParams,
}Expand description
Fired when remote debugging connection is about to be terminated. Contains detach reason. detached
Fields§
§method: DetachedMethod§params: DetachedParamsImplementations§
Source§impl Detached
impl Detached
pub const IDENTIFIER: &'static str = "Inspector.detached"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Detached
impl<'de> Deserialize<'de> for Detached
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<Detached> for BrowserProtocolEvents
impl From<Detached> for BrowserProtocolEvents
Source§impl From<Detached> for InspectorEvents
impl From<Detached> for InspectorEvents
Source§impl TryFrom<BrowserProtocolEvents> for Detached
impl TryFrom<BrowserProtocolEvents> for Detached
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <Detached as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <Detached as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<InspectorEvents> for Detached
impl TryFrom<InspectorEvents> for Detached
Source§type Error = InspectorEvents
type Error = InspectorEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: InspectorEvents,
) -> Result<Self, <Detached as TryFrom<InspectorEvents>>::Error>
fn try_from( e: InspectorEvents, ) -> Result<Self, <Detached as TryFrom<InspectorEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for Detached
Auto Trait Implementations§
impl Freeze for Detached
impl RefUnwindSafe for Detached
impl Send for Detached
impl Sync for Detached
impl Unpin for Detached
impl UnsafeUnpin for Detached
impl UnwindSafe for Detached
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