pub struct DtlsParametersRef<'a>(/* private fields */);
Expand description
Reference to a deserialized DtlsParameters.
Implementations§
Source§impl<'a> DtlsParametersRef<'a>
impl<'a> DtlsParametersRef<'a>
Sourcepub fn fingerprints(&self) -> Result<Vector<'a, Result<FingerprintRef<'a>>>>
pub fn fingerprints(&self) -> Result<Vector<'a, Result<FingerprintRef<'a>>>>
Getter for the fingerprints
field.
Sourcepub fn role(&self) -> Result<DtlsRole>
pub fn role(&self) -> Result<DtlsRole>
Getter for the role
field.
Trait Implementations§
Source§impl<'a> Clone for DtlsParametersRef<'a>
impl<'a> Clone for DtlsParametersRef<'a>
Source§fn clone(&self) -> DtlsParametersRef<'a>
fn clone(&self) -> DtlsParametersRef<'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 DtlsParametersRef<'a>
impl<'a> Debug for DtlsParametersRef<'a>
Source§impl<'a> ReadAsRoot<'a> for DtlsParametersRef<'a>
impl<'a> ReadAsRoot<'a> for DtlsParametersRef<'a>
Source§impl<'a> TryFrom<DtlsParametersRef<'a>> for DtlsParameters
impl<'a> TryFrom<DtlsParametersRef<'a>> for DtlsParameters
impl<'a> Copy for DtlsParametersRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DtlsParametersRef<'a>
impl<'a> RefUnwindSafe for DtlsParametersRef<'a>
impl<'a> Send for DtlsParametersRef<'a>
impl<'a> Sync for DtlsParametersRef<'a>
impl<'a> Unpin for DtlsParametersRef<'a>
impl<'a> UnwindSafe for DtlsParametersRef<'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