pub struct DtlsStateChangeNotificationRef<'a>(/* private fields */);
Expand description
Reference to a deserialized DtlsStateChangeNotification.
Implementations§
Source§impl<'a> DtlsStateChangeNotificationRef<'a>
impl<'a> DtlsStateChangeNotificationRef<'a>
Sourcepub fn dtls_state(&self) -> Result<DtlsState>
pub fn dtls_state(&self) -> Result<DtlsState>
Getter for the dtls_state
field.
Sourcepub fn remote_cert(&self) -> Result<Option<&'a str>>
pub fn remote_cert(&self) -> Result<Option<&'a str>>
Getter for the remote_cert
field.
Trait Implementations§
Source§impl<'a> Clone for DtlsStateChangeNotificationRef<'a>
impl<'a> Clone for DtlsStateChangeNotificationRef<'a>
Source§fn clone(&self) -> DtlsStateChangeNotificationRef<'a>
fn clone(&self) -> DtlsStateChangeNotificationRef<'a>
Returns a copy 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<'a> Debug for DtlsStateChangeNotificationRef<'a>
impl<'a> Debug for DtlsStateChangeNotificationRef<'a>
Source§impl<'a> ReadAsRoot<'a> for DtlsStateChangeNotificationRef<'a>
impl<'a> ReadAsRoot<'a> for DtlsStateChangeNotificationRef<'a>
Source§impl<'a> TryFrom<DtlsStateChangeNotificationRef<'a>> for DtlsStateChangeNotification
impl<'a> TryFrom<DtlsStateChangeNotificationRef<'a>> for DtlsStateChangeNotification
impl<'a> Copy for DtlsStateChangeNotificationRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DtlsStateChangeNotificationRef<'a>
impl<'a> RefUnwindSafe for DtlsStateChangeNotificationRef<'a>
impl<'a> Send for DtlsStateChangeNotificationRef<'a>
impl<'a> Sync for DtlsStateChangeNotificationRef<'a>
impl<'a> Unpin for DtlsStateChangeNotificationRef<'a>
impl<'a> UnwindSafe for DtlsStateChangeNotificationRef<'a>
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