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