pub struct DirectTcpSocketAborted {
pub method: DirectTcpSocketAbortedMethod,
pub params: DirectTcpSocketAbortedParams,
}Expand description
Fired when direct_socket.TCPSocket is aborted. directTCPSocketAborted
Fields§
§method: DirectTcpSocketAbortedMethod§params: DirectTcpSocketAbortedParamsImplementations§
Source§impl DirectTcpSocketAborted
impl DirectTcpSocketAborted
pub const IDENTIFIER: &'static str = "Network.directTCPSocketAborted"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DirectTcpSocketAborted
impl Clone for DirectTcpSocketAborted
Source§fn clone(&self) -> DirectTcpSocketAborted
fn clone(&self) -> DirectTcpSocketAborted
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 DirectTcpSocketAborted
impl Debug for DirectTcpSocketAborted
Source§impl<'de> Deserialize<'de> for DirectTcpSocketAborted
impl<'de> Deserialize<'de> for DirectTcpSocketAborted
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<DirectTcpSocketAborted> for BrowserProtocolEvents
impl From<DirectTcpSocketAborted> for BrowserProtocolEvents
Source§fn from(v: DirectTcpSocketAborted) -> Self
fn from(v: DirectTcpSocketAborted) -> Self
Converts to this type from the input type.
Source§impl From<DirectTcpSocketAborted> for Event
impl From<DirectTcpSocketAborted> for Event
Source§fn from(v: DirectTcpSocketAborted) -> Self
fn from(v: DirectTcpSocketAborted) -> Self
Converts to this type from the input type.
Source§impl From<DirectTcpSocketAborted> for NetworkEvents
impl From<DirectTcpSocketAborted> for NetworkEvents
Source§fn from(v: DirectTcpSocketAborted) -> Self
fn from(v: DirectTcpSocketAborted) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DirectTcpSocketAborted
impl PartialEq for DirectTcpSocketAborted
Source§impl Serialize for DirectTcpSocketAborted
impl Serialize for DirectTcpSocketAborted
Source§impl TryFrom<BrowserProtocolEvents> for DirectTcpSocketAborted
impl TryFrom<BrowserProtocolEvents> for DirectTcpSocketAborted
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, <DirectTcpSocketAborted as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DirectTcpSocketAborted as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DirectTcpSocketAborted
impl TryFrom<Event> for DirectTcpSocketAborted
Source§impl TryFrom<NetworkEvents> for DirectTcpSocketAborted
impl TryFrom<NetworkEvents> for DirectTcpSocketAborted
Source§type Error = NetworkEvents
type Error = NetworkEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkEvents,
) -> Result<Self, <DirectTcpSocketAborted as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectTcpSocketAborted as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for DirectTcpSocketAborted
Auto Trait Implementations§
impl Freeze for DirectTcpSocketAborted
impl RefUnwindSafe for DirectTcpSocketAborted
impl Send for DirectTcpSocketAborted
impl Sync for DirectTcpSocketAborted
impl Unpin for DirectTcpSocketAborted
impl UnsafeUnpin for DirectTcpSocketAborted
impl UnwindSafe for DirectTcpSocketAborted
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