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