pub struct DirectUdpSocketCreated {
pub method: DirectUdpSocketCreatedMethod,
pub params: DirectUdpSocketCreatedParams,
}Expand description
Fired upon direct_socket.UDPSocket creation. directUDPSocketCreated
Fields§
§method: DirectUdpSocketCreatedMethod§params: DirectUdpSocketCreatedParamsImplementations§
Source§impl DirectUdpSocketCreated
impl DirectUdpSocketCreated
pub const IDENTIFIER: &'static str = "Network.directUDPSocketCreated"
pub fn identifier(&self) -> &'static str
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
Source§impl From<DirectUdpSocketCreated> for BrowserProtocolEvents
impl From<DirectUdpSocketCreated> for BrowserProtocolEvents
Source§fn from(v: DirectUdpSocketCreated) -> Self
fn from(v: DirectUdpSocketCreated) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketCreated> for Event
impl From<DirectUdpSocketCreated> for Event
Source§fn from(v: DirectUdpSocketCreated) -> Self
fn from(v: DirectUdpSocketCreated) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketCreated> for NetworkEvents
impl From<DirectUdpSocketCreated> for NetworkEvents
Source§fn from(v: DirectUdpSocketCreated) -> Self
fn from(v: DirectUdpSocketCreated) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DirectUdpSocketCreated
impl PartialEq for DirectUdpSocketCreated
Source§impl Serialize for DirectUdpSocketCreated
impl Serialize for DirectUdpSocketCreated
Source§impl TryFrom<BrowserProtocolEvents> for DirectUdpSocketCreated
impl TryFrom<BrowserProtocolEvents> for DirectUdpSocketCreated
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <DirectUdpSocketCreated as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DirectUdpSocketCreated as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DirectUdpSocketCreated
impl TryFrom<Event> for DirectUdpSocketCreated
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketCreated
impl TryFrom<NetworkEvents> for DirectUdpSocketCreated
Source§type Error = NetworkEvents
type Error = NetworkEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkEvents,
) -> Result<Self, <DirectUdpSocketCreated as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketCreated as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for DirectUdpSocketCreated
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