pub struct DirectUdpSocketOpened {
pub method: DirectUdpSocketOpenedMethod,
pub params: DirectUdpSocketOpenedParams,
}Expand description
Fired when direct_socket.UDPSocket connection is opened. directUDPSocketOpened
Fields§
§method: DirectUdpSocketOpenedMethod§params: DirectUdpSocketOpenedParamsImplementations§
Source§impl DirectUdpSocketOpened
impl DirectUdpSocketOpened
pub const IDENTIFIER: &'static str = "Network.directUDPSocketOpened"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for DirectUdpSocketOpened
impl Clone for DirectUdpSocketOpened
Source§fn clone(&self) -> DirectUdpSocketOpened
fn clone(&self) -> DirectUdpSocketOpened
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 DirectUdpSocketOpened
impl Debug for DirectUdpSocketOpened
Source§impl<'de> Deserialize<'de> for DirectUdpSocketOpened
impl<'de> Deserialize<'de> for DirectUdpSocketOpened
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<DirectUdpSocketOpened> for BrowserProtocolEvents
impl From<DirectUdpSocketOpened> for BrowserProtocolEvents
Source§fn from(v: DirectUdpSocketOpened) -> Self
fn from(v: DirectUdpSocketOpened) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketOpened> for Event
impl From<DirectUdpSocketOpened> for Event
Source§fn from(v: DirectUdpSocketOpened) -> Self
fn from(v: DirectUdpSocketOpened) -> Self
Converts to this type from the input type.
Source§impl From<DirectUdpSocketOpened> for NetworkEvents
impl From<DirectUdpSocketOpened> for NetworkEvents
Source§fn from(v: DirectUdpSocketOpened) -> Self
fn from(v: DirectUdpSocketOpened) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DirectUdpSocketOpened
impl PartialEq for DirectUdpSocketOpened
Source§impl Serialize for DirectUdpSocketOpened
impl Serialize for DirectUdpSocketOpened
Source§impl TryFrom<BrowserProtocolEvents> for DirectUdpSocketOpened
impl TryFrom<BrowserProtocolEvents> for DirectUdpSocketOpened
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, <DirectUdpSocketOpened as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <DirectUdpSocketOpened as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for DirectUdpSocketOpened
impl TryFrom<Event> for DirectUdpSocketOpened
Source§impl TryFrom<NetworkEvents> for DirectUdpSocketOpened
impl TryFrom<NetworkEvents> for DirectUdpSocketOpened
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, <DirectUdpSocketOpened as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <DirectUdpSocketOpened as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for DirectUdpSocketOpened
Auto Trait Implementations§
impl Freeze for DirectUdpSocketOpened
impl RefUnwindSafe for DirectUdpSocketOpened
impl Send for DirectUdpSocketOpened
impl Sync for DirectUdpSocketOpened
impl Unpin for DirectUdpSocketOpened
impl UnsafeUnpin for DirectUdpSocketOpened
impl UnwindSafe for DirectUdpSocketOpened
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