pub struct DirectTcpSocketOpenedEvent {
pub identifier: RequestId,
pub remote_addr: String,
pub remote_port: i64,
pub timestamp: MonotonicTime,
pub local_addr: Option<String>,
pub local_port: Option<i64>,
}Expand description
Fired when direct_socket.TCPSocket connection is opened.
Experimental: may change without notice.
Payload of the Network.directTCPSocketOpened event.
Fields§
§identifier: RequestId§remote_addr: String§remote_port: i64Expected to be unsigned integer.
timestamp: MonotonicTime§local_addr: Option<String>§local_port: Option<i64>Expected to be unsigned integer.
Trait Implementations§
Source§impl Clone for DirectTcpSocketOpenedEvent
impl Clone for DirectTcpSocketOpenedEvent
Source§impl Debug for DirectTcpSocketOpenedEvent
impl Debug for DirectTcpSocketOpenedEvent
Source§impl Default for DirectTcpSocketOpenedEvent
impl Default for DirectTcpSocketOpenedEvent
Source§impl<'de> Deserialize<'de> for DirectTcpSocketOpenedEvent
impl<'de> Deserialize<'de> for DirectTcpSocketOpenedEvent
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 Event for DirectTcpSocketOpenedEvent
impl Event for DirectTcpSocketOpenedEvent
impl StructuralPartialEq for DirectTcpSocketOpenedEvent
Auto Trait Implementations§
impl Forget for DirectTcpSocketOpenedEvent
impl Freeze for DirectTcpSocketOpenedEvent
impl RefUnwindSafe for DirectTcpSocketOpenedEvent
impl Send for DirectTcpSocketOpenedEvent
impl Sync for DirectTcpSocketOpenedEvent
impl Unpin for DirectTcpSocketOpenedEvent
impl UnsafeUnpin for DirectTcpSocketOpenedEvent
impl UnwindSafe for DirectTcpSocketOpenedEvent
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