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