pub struct WebTransportCreatedEventBuilder { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security only.Implementations§
Source§impl WebTransportCreatedEventBuilder
impl WebTransportCreatedEventBuilder
Sourcepub fn transport_id(&mut self, v: RequestId) -> &mut Self
pub fn transport_id(&mut self, v: RequestId) -> &mut Self
WebTransport identifier.
Sourcepub fn timestamp(&mut self, v: MonotonicTime) -> &mut Self
pub fn timestamp(&mut self, v: MonotonicTime) -> &mut Self
Timestamp.
pub fn build(&mut self) -> Result<WebTransportCreatedEvent, &'static str>
Trait Implementations§
Source§impl Clone for WebTransportCreatedEventBuilder
impl Clone for WebTransportCreatedEventBuilder
Source§fn clone(&self) -> WebTransportCreatedEventBuilder
fn clone(&self) -> WebTransportCreatedEventBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WebTransportCreatedEventBuilder
impl RefUnwindSafe for WebTransportCreatedEventBuilder
impl Send for WebTransportCreatedEventBuilder
impl Sync for WebTransportCreatedEventBuilder
impl Unpin for WebTransportCreatedEventBuilder
impl UnsafeUnpin for WebTransportCreatedEventBuilder
impl UnwindSafe for WebTransportCreatedEventBuilder
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