pub struct WebTransportConnectionEstablishedEventParamsBuilder { /* private fields */ }Expand description
Builder for WebTransportConnectionEstablishedEventParams.
Implementations§
Source§impl WebTransportConnectionEstablishedEventParamsBuilder
impl WebTransportConnectionEstablishedEventParamsBuilder
Sourcepub fn transport_id(&mut self, value: RequestId) -> &mut Self
pub fn transport_id(&mut self, value: RequestId) -> &mut Self
WebTransport identifier.
Sourcepub fn timestamp(&mut self, value: MonotonicTime) -> &mut Self
pub fn timestamp(&mut self, value: MonotonicTime) -> &mut Self
Timestamp.
Sourcepub fn build(
&self,
) -> Result<WebTransportConnectionEstablishedEventParams, WebTransportConnectionEstablishedEventParamsBuilderError>
pub fn build( &self, ) -> Result<WebTransportConnectionEstablishedEventParams, WebTransportConnectionEstablishedEventParamsBuilderError>
Builds a new WebTransportConnectionEstablishedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for WebTransportConnectionEstablishedEventParamsBuilder
impl Clone for WebTransportConnectionEstablishedEventParamsBuilder
Source§fn clone(&self) -> WebTransportConnectionEstablishedEventParamsBuilder
fn clone(&self) -> WebTransportConnectionEstablishedEventParamsBuilder
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 moreAuto Trait Implementations§
impl Freeze for WebTransportConnectionEstablishedEventParamsBuilder
impl RefUnwindSafe for WebTransportConnectionEstablishedEventParamsBuilder
impl Send for WebTransportConnectionEstablishedEventParamsBuilder
impl Sync for WebTransportConnectionEstablishedEventParamsBuilder
impl Unpin for WebTransportConnectionEstablishedEventParamsBuilder
impl UnsafeUnpin for WebTransportConnectionEstablishedEventParamsBuilder
impl UnwindSafe for WebTransportConnectionEstablishedEventParamsBuilder
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