pub struct WebTransportConnectionEstablished {
pub method: WebTransportConnectionEstablishedMethod,
pub params: WebTransportConnectionEstablishedParams,
}Expand description
Fired when WebTransport handshake is finished. webTransportConnectionEstablished
Fields§
§method: WebTransportConnectionEstablishedMethod§params: WebTransportConnectionEstablishedParamsImplementations§
Source§impl WebTransportConnectionEstablished
impl WebTransportConnectionEstablished
pub const IDENTIFIER: &'static str = "Network.webTransportConnectionEstablished"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for WebTransportConnectionEstablished
impl Clone for WebTransportConnectionEstablished
Source§fn clone(&self) -> WebTransportConnectionEstablished
fn clone(&self) -> WebTransportConnectionEstablished
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<'de> Deserialize<'de> for WebTransportConnectionEstablished
impl<'de> Deserialize<'de> for WebTransportConnectionEstablished
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<WebTransportConnectionEstablished> for BrowserProtocolEvents
impl From<WebTransportConnectionEstablished> for BrowserProtocolEvents
Source§fn from(v: WebTransportConnectionEstablished) -> Self
fn from(v: WebTransportConnectionEstablished) -> Self
Converts to this type from the input type.
Source§impl From<WebTransportConnectionEstablished> for Event
impl From<WebTransportConnectionEstablished> for Event
Source§fn from(v: WebTransportConnectionEstablished) -> Self
fn from(v: WebTransportConnectionEstablished) -> Self
Converts to this type from the input type.
Source§impl From<WebTransportConnectionEstablished> for NetworkEvents
impl From<WebTransportConnectionEstablished> for NetworkEvents
Source§fn from(v: WebTransportConnectionEstablished) -> Self
fn from(v: WebTransportConnectionEstablished) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebTransportConnectionEstablished
impl PartialEq for WebTransportConnectionEstablished
Source§fn eq(&self, other: &WebTransportConnectionEstablished) -> bool
fn eq(&self, other: &WebTransportConnectionEstablished) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<BrowserProtocolEvents> for WebTransportConnectionEstablished
impl TryFrom<BrowserProtocolEvents> for WebTransportConnectionEstablished
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, <WebTransportConnectionEstablished as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <WebTransportConnectionEstablished as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<NetworkEvents> for WebTransportConnectionEstablished
impl TryFrom<NetworkEvents> for WebTransportConnectionEstablished
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, <WebTransportConnectionEstablished as TryFrom<NetworkEvents>>::Error>
fn try_from( e: NetworkEvents, ) -> Result<Self, <WebTransportConnectionEstablished as TryFrom<NetworkEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for WebTransportConnectionEstablished
Auto Trait Implementations§
impl Freeze for WebTransportConnectionEstablished
impl RefUnwindSafe for WebTransportConnectionEstablished
impl Send for WebTransportConnectionEstablished
impl Sync for WebTransportConnectionEstablished
impl Unpin for WebTransportConnectionEstablished
impl UnsafeUnpin for WebTransportConnectionEstablished
impl UnwindSafe for WebTransportConnectionEstablished
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