pub struct DirectTcpSocketCreatedEvent {
pub identifier: RequestId,
pub remote_addr: String,
pub remote_port: i64,
pub options: DirectTcpSocketOptions,
pub timestamp: MonotonicTime,
pub initiator: Option<Initiator>,
}Expand description
Fired upon direct_socket.TCPSocket creation.
Experimental: may change without notice.
Payload of the Network.directTCPSocketCreated event.
Fields§
§identifier: RequestId§remote_addr: String§remote_port: i64Unsigned int 16.
options: DirectTcpSocketOptions§timestamp: MonotonicTime§initiator: Option<Initiator>Trait Implementations§
Source§impl Clone for DirectTcpSocketCreatedEvent
impl Clone for DirectTcpSocketCreatedEvent
Source§impl Debug for DirectTcpSocketCreatedEvent
impl Debug for DirectTcpSocketCreatedEvent
Source§impl<'de> Deserialize<'de> for DirectTcpSocketCreatedEvent
impl<'de> Deserialize<'de> for DirectTcpSocketCreatedEvent
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 DirectTcpSocketCreatedEvent
impl Event for DirectTcpSocketCreatedEvent
impl StructuralPartialEq for DirectTcpSocketCreatedEvent
Auto Trait Implementations§
impl Forget for DirectTcpSocketCreatedEvent
impl Freeze for DirectTcpSocketCreatedEvent
impl RefUnwindSafe for DirectTcpSocketCreatedEvent
impl Send for DirectTcpSocketCreatedEvent
impl Sync for DirectTcpSocketCreatedEvent
impl Unpin for DirectTcpSocketCreatedEvent
impl UnsafeUnpin for DirectTcpSocketCreatedEvent
impl UnwindSafe for DirectTcpSocketCreatedEvent
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