pub struct EventDirectUdpSocketOpened {
pub identifier: RequestId,
pub local_addr: String,
pub local_port: i64,
pub timestamp: MonotonicTime,
pub remote_addr: Option<String>,
pub remote_port: Option<i64>,
}
Expand description
Fired when direct_socket.UDPSocket connection is opened. directUDPSocketOpened
Fields§
§identifier: RequestId
§local_addr: String
§local_port: i64
Expected to be unsigned integer.
timestamp: MonotonicTime
§remote_addr: Option<String>
§remote_port: Option<i64>
Expected to be unsigned integer.
Implementations§
Source§impl EventDirectUdpSocketOpened
impl EventDirectUdpSocketOpened
pub const IDENTIFIER: &'static str = "Network.directUDPSocketOpened"
Trait Implementations§
Source§impl Clone for EventDirectUdpSocketOpened
impl Clone for EventDirectUdpSocketOpened
Source§fn clone(&self) -> EventDirectUdpSocketOpened
fn clone(&self) -> EventDirectUdpSocketOpened
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 EventDirectUdpSocketOpened
impl Debug for EventDirectUdpSocketOpened
Source§impl<'de> Deserialize<'de> for EventDirectUdpSocketOpened
impl<'de> Deserialize<'de> for EventDirectUdpSocketOpened
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventDirectUdpSocketOpened, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventDirectUdpSocketOpened, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<EventDirectUdpSocketOpened> for CdpEvent
impl From<EventDirectUdpSocketOpened> for CdpEvent
Source§fn from(el: EventDirectUdpSocketOpened) -> CdpEvent
fn from(el: EventDirectUdpSocketOpened) -> CdpEvent
Converts to this type from the input type.
Source§impl IntoEventKind for EventDirectUdpSocketOpened
impl IntoEventKind for EventDirectUdpSocketOpened
Source§fn event_kind() -> EventKindwhere
EventDirectUdpSocketOpened: Sized + 'static,
fn event_kind() -> EventKindwhere
EventDirectUdpSocketOpened: Sized + 'static,
What kind of event this type is
Source§impl Method for EventDirectUdpSocketOpened
impl Method for EventDirectUdpSocketOpened
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 EventDirectUdpSocketOpened
impl Serialize for EventDirectUdpSocketOpened
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 EventDirectUdpSocketOpened
impl TryFrom<CdpEvent> for EventDirectUdpSocketOpened
impl StructuralPartialEq for EventDirectUdpSocketOpened
Auto Trait Implementations§
impl Freeze for EventDirectUdpSocketOpened
impl RefUnwindSafe for EventDirectUdpSocketOpened
impl Send for EventDirectUdpSocketOpened
impl Sync for EventDirectUdpSocketOpened
impl Unpin for EventDirectUdpSocketOpened
impl UnwindSafe for EventDirectUdpSocketOpened
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