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