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