pub struct WebTransportConnectionEstablishedEvent { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Expand description
Fired when WebTransport handshake is finished.
Implementations§
Source§impl WebTransportConnectionEstablishedEvent
impl WebTransportConnectionEstablishedEvent
pub fn new(transport_id: RequestId, timestamp: MonotonicTime) -> Self
Sourcepub fn transport_id(&self) -> &RequestId
pub fn transport_id(&self) -> &RequestId
WebTransport identifier.
Sourcepub fn timestamp(&self) -> &MonotonicTime
pub fn timestamp(&self) -> &MonotonicTime
Timestamp.
Trait Implementations§
Source§impl Clone for WebTransportConnectionEstablishedEvent
impl Clone for WebTransportConnectionEstablishedEvent
Source§fn clone(&self) -> WebTransportConnectionEstablishedEvent
fn clone(&self) -> WebTransportConnectionEstablishedEvent
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 WebTransportConnectionEstablishedEvent
impl<'de> Deserialize<'de> for WebTransportConnectionEstablishedEvent
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
Auto Trait Implementations§
impl Freeze for WebTransportConnectionEstablishedEvent
impl RefUnwindSafe for WebTransportConnectionEstablishedEvent
impl Send for WebTransportConnectionEstablishedEvent
impl Sync for WebTransportConnectionEstablishedEvent
impl Unpin for WebTransportConnectionEstablishedEvent
impl UnwindSafe for WebTransportConnectionEstablishedEvent
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