pub struct DirectTcpSocketCreatedParams {
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. directTCPSocketCreated
Fields§
§identifier: RequestId§remote_addr: String§remote_port: i64Unsigned int 16.
options: DirectTcpSocketOptions§timestamp: MonotonicTime§initiator: Option<Initiator>Trait Implementations§
Source§impl Clone for DirectTcpSocketCreatedParams
impl Clone for DirectTcpSocketCreatedParams
Source§fn clone(&self) -> DirectTcpSocketCreatedParams
fn clone(&self) -> DirectTcpSocketCreatedParams
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 DirectTcpSocketCreatedParams
impl Debug for DirectTcpSocketCreatedParams
Source§impl<'de> Deserialize<'de> for DirectTcpSocketCreatedParams
impl<'de> Deserialize<'de> for DirectTcpSocketCreatedParams
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 PartialEq for DirectTcpSocketCreatedParams
impl PartialEq for DirectTcpSocketCreatedParams
Source§fn eq(&self, other: &DirectTcpSocketCreatedParams) -> bool
fn eq(&self, other: &DirectTcpSocketCreatedParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DirectTcpSocketCreatedParams
Auto Trait Implementations§
impl Freeze for DirectTcpSocketCreatedParams
impl RefUnwindSafe for DirectTcpSocketCreatedParams
impl Send for DirectTcpSocketCreatedParams
impl Sync for DirectTcpSocketCreatedParams
impl Unpin for DirectTcpSocketCreatedParams
impl UnsafeUnpin for DirectTcpSocketCreatedParams
impl UnwindSafe for DirectTcpSocketCreatedParams
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