pub struct EventDirectTcpSocketOpened {
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. directTCPSocketOpened
Fields§
§identifier: RequestId
§remote_addr: String
§remote_port: i64
Expected to be unsigned integer.
timestamp: MonotonicTime
§local_addr: Option<String>
§local_port: Option<i64>
Expected to be unsigned integer.
Implementations§
Source§impl EventDirectTcpSocketOpened
impl EventDirectTcpSocketOpened
pub const IDENTIFIER: &'static str = "Network.directTCPSocketOpened"
Trait Implementations§
Source§impl Clone for EventDirectTcpSocketOpened
impl Clone for EventDirectTcpSocketOpened
Source§fn clone(&self) -> EventDirectTcpSocketOpened
fn clone(&self) -> EventDirectTcpSocketOpened
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 EventDirectTcpSocketOpened
impl Debug for EventDirectTcpSocketOpened
Source§impl<'de> Deserialize<'de> for EventDirectTcpSocketOpened
impl<'de> Deserialize<'de> for EventDirectTcpSocketOpened
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventDirectTcpSocketOpened, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventDirectTcpSocketOpened, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EventDirectTcpSocketOpened> for CdpEvent
impl From<EventDirectTcpSocketOpened> for CdpEvent
Source§fn from(el: EventDirectTcpSocketOpened) -> CdpEvent
fn from(el: EventDirectTcpSocketOpened) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventDirectTcpSocketOpened
impl IntoEventKind for EventDirectTcpSocketOpened
Source§fn event_kind() -> EventKindwhere
EventDirectTcpSocketOpened: Sized + 'static,
fn event_kind() -> EventKindwhere
EventDirectTcpSocketOpened: Sized + 'static,
What kind of event this type is
Source§impl Method for EventDirectTcpSocketOpened
impl Method for EventDirectTcpSocketOpened
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§impl Serialize for EventDirectTcpSocketOpened
impl Serialize for EventDirectTcpSocketOpened
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<CdpEvent> for EventDirectTcpSocketOpened
impl TryFrom<CdpEvent> for EventDirectTcpSocketOpened
impl StructuralPartialEq for EventDirectTcpSocketOpened
Auto Trait Implementations§
impl Freeze for EventDirectTcpSocketOpened
impl RefUnwindSafe for EventDirectTcpSocketOpened
impl Send for EventDirectTcpSocketOpened
impl Sync for EventDirectTcpSocketOpened
impl Unpin for EventDirectTcpSocketOpened
impl UnwindSafe for EventDirectTcpSocketOpened
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