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