pub struct DirectUdpSocketCreated {
pub identifier: RequestId,
pub options: DirectUDPSocketOptions,
pub timestamp: MonotonicTime,
pub initiator: Option<Initiator>,
}Expand description
Fired upon direct_socket.UDPSocket creation. EXPERIMENTAL: This feature is experimental and may change or be removed.
Fields§
§identifier: RequestId§options: DirectUDPSocketOptions§timestamp: MonotonicTime§initiator: Option<Initiator>Implementations§
Trait Implementations§
Source§impl Clone for DirectUdpSocketCreated
impl Clone for DirectUdpSocketCreated
Source§fn clone(&self) -> DirectUdpSocketCreated
fn clone(&self) -> DirectUdpSocketCreated
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 DirectUdpSocketCreated
impl Debug for DirectUdpSocketCreated
Source§impl<'de> Deserialize<'de> for DirectUdpSocketCreated
impl<'de> Deserialize<'de> for DirectUdpSocketCreated
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
Auto Trait Implementations§
impl Freeze for DirectUdpSocketCreated
impl RefUnwindSafe for DirectUdpSocketCreated
impl Send for DirectUdpSocketCreated
impl Sync for DirectUdpSocketCreated
impl Unpin for DirectUdpSocketCreated
impl UnsafeUnpin for DirectUdpSocketCreated
impl UnwindSafe for DirectUdpSocketCreated
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