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