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