pub struct DtlsStateChangeNotificationBuilder<State>(/* private fields */);
Expand description
Builder for serializing an instance of the DtlsStateChangeNotification type.
Can be created using the DtlsStateChangeNotification::builder method.
Implementations§
Source§impl DtlsStateChangeNotificationBuilder<()>
impl DtlsStateChangeNotificationBuilder<()>
Sourcepub fn dtls_state<T0>(
self,
value: T0,
) -> DtlsStateChangeNotificationBuilder<(T0,)>
pub fn dtls_state<T0>( self, value: T0, ) -> DtlsStateChangeNotificationBuilder<(T0,)>
Setter for the dtls_state
field.
Sourcepub fn dtls_state_as_default(
self,
) -> DtlsStateChangeNotificationBuilder<(DefaultValue,)>
pub fn dtls_state_as_default( self, ) -> DtlsStateChangeNotificationBuilder<(DefaultValue,)>
Sets the dtls_state
field to the default value.
Source§impl<T0> DtlsStateChangeNotificationBuilder<(T0,)>
impl<T0> DtlsStateChangeNotificationBuilder<(T0,)>
Sourcepub fn remote_cert<T1>(
self,
value: T1,
) -> DtlsStateChangeNotificationBuilder<(T0, T1)>
pub fn remote_cert<T1>( self, value: T1, ) -> DtlsStateChangeNotificationBuilder<(T0, T1)>
Setter for the remote_cert
field.
Sourcepub fn remote_cert_as_null(self) -> DtlsStateChangeNotificationBuilder<(T0, ())>
pub fn remote_cert_as_null(self) -> DtlsStateChangeNotificationBuilder<(T0, ())>
Sets the remote_cert
field to null.
Source§impl<T0, T1> DtlsStateChangeNotificationBuilder<(T0, T1)>
impl<T0, T1> DtlsStateChangeNotificationBuilder<(T0, T1)>
Sourcepub fn finish(
self,
builder: &mut Builder,
) -> Offset<DtlsStateChangeNotification>where
Self: WriteAsOffset<DtlsStateChangeNotification>,
pub fn finish(
self,
builder: &mut Builder,
) -> Offset<DtlsStateChangeNotification>where
Self: WriteAsOffset<DtlsStateChangeNotification>,
Finish writing the builder to get an Offset to a serialized DtlsStateChangeNotification.
Trait Implementations§
Source§impl<State: Debug> Debug for DtlsStateChangeNotificationBuilder<State>
impl<State: Debug> Debug for DtlsStateChangeNotificationBuilder<State>
impl<T0: WriteAsDefault<DtlsState, DtlsState>, T1: WriteAsOptional<Offset<str>>> WriteAs<Offset<DtlsStateChangeNotification>> for DtlsStateChangeNotificationBuilder<(T0, T1)>
impl<T0: WriteAsDefault<DtlsState, DtlsState>, T1: WriteAsOptional<Offset<str>>> WriteAsOffset<DtlsStateChangeNotification> for DtlsStateChangeNotificationBuilder<(T0, T1)>
impl<T0: WriteAsDefault<DtlsState, DtlsState>, T1: WriteAsOptional<Offset<str>>> WriteAsOptional<Offset<DtlsStateChangeNotification>> for DtlsStateChangeNotificationBuilder<(T0, T1)>
Auto Trait Implementations§
impl<State> Freeze for DtlsStateChangeNotificationBuilder<State>where
State: Freeze,
impl<State> RefUnwindSafe for DtlsStateChangeNotificationBuilder<State>where
State: RefUnwindSafe,
impl<State> Send for DtlsStateChangeNotificationBuilder<State>where
State: Send,
impl<State> Sync for DtlsStateChangeNotificationBuilder<State>where
State: Sync,
impl<State> Unpin for DtlsStateChangeNotificationBuilder<State>where
State: Unpin,
impl<State> UnwindSafe for DtlsStateChangeNotificationBuilder<State>where
State: UnwindSafe,
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