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