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