pub struct DetachedFromTarget {
pub method: DetachedFromTargetMethod,
pub params: DetachedFromTargetParams,
}Expand description
Issued when detached from target for any reason (including detachFromTarget command). Can be
issued multiple times per target if multiple sessions have been attached to it.
detachedFromTarget
Fields§
§method: DetachedFromTargetMethod§params: DetachedFromTargetParamsImplementations§
Source§impl DetachedFromTarget
impl DetachedFromTarget
pub const IDENTIFIER: &'static str = "Target.detachedFromTarget"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DetachedFromTarget
impl Clone for DetachedFromTarget
Source§fn clone(&self) -> DetachedFromTarget
fn clone(&self) -> DetachedFromTarget
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 Debug for DetachedFromTarget
impl Debug for DetachedFromTarget
Source§impl<'de> Deserialize<'de> for DetachedFromTarget
impl<'de> Deserialize<'de> for DetachedFromTarget
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<DetachedFromTarget> for BrowserProtocolEvents
impl From<DetachedFromTarget> for BrowserProtocolEvents
Source§fn from(v: DetachedFromTarget) -> Self
fn from(v: DetachedFromTarget) -> Self
Converts to this type from the input type.
Source§impl From<DetachedFromTarget> for Event
impl From<DetachedFromTarget> for Event
Source§fn from(v: DetachedFromTarget) -> Self
fn from(v: DetachedFromTarget) -> Self
Converts to this type from the input type.
Source§impl From<DetachedFromTarget> for TargetEvents
impl From<DetachedFromTarget> for TargetEvents
Source§fn from(v: DetachedFromTarget) -> Self
fn from(v: DetachedFromTarget) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DetachedFromTarget
impl PartialEq for DetachedFromTarget
Source§impl Serialize for DetachedFromTarget
impl Serialize for DetachedFromTarget
Source§impl TryFrom<BrowserProtocolEvents> for DetachedFromTarget
impl TryFrom<BrowserProtocolEvents> for DetachedFromTarget
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, <DetachedFromTarget as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DetachedFromTarget as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DetachedFromTarget
impl TryFrom<Event> for DetachedFromTarget
Source§impl TryFrom<TargetEvents> for DetachedFromTarget
impl TryFrom<TargetEvents> for DetachedFromTarget
Source§type Error = TargetEvents
type Error = TargetEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: TargetEvents,
) -> Result<Self, <DetachedFromTarget as TryFrom<TargetEvents>>::Error>
fn try_from( e: TargetEvents, ) -> Result<Self, <DetachedFromTarget as TryFrom<TargetEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for DetachedFromTarget
Auto Trait Implementations§
impl Freeze for DetachedFromTarget
impl RefUnwindSafe for DetachedFromTarget
impl Send for DetachedFromTarget
impl Sync for DetachedFromTarget
impl Unpin for DetachedFromTarget
impl UnsafeUnpin for DetachedFromTarget
impl UnwindSafe for DetachedFromTarget
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