Struct stun_codec::rfc5389::attributes::Fingerprint
source · pub struct Fingerprint { /* private fields */ }
Expand description
FINGERPRINT
attribute.
See RFC 5389 – 15.5. FINGERPRINT about this attribute.
Implementations§
Trait Implementations§
source§impl Attribute for Fingerprint
impl Attribute for Fingerprint
§type Decoder = FingerprintDecoder
type Decoder = FingerprintDecoder
The decoder of the value part of the attribute.
§type Encoder = FingerprintEncoder
type Encoder = FingerprintEncoder
The encoder of the value part of the attribute.
source§fn get_type(&self) -> AttributeType
fn get_type(&self) -> AttributeType
Returns the type of the attribute.
source§impl Clone for Fingerprint
impl Clone for Fingerprint
source§fn clone(&self) -> Fingerprint
fn clone(&self) -> Fingerprint
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 Debug for Fingerprint
impl Debug for Fingerprint
source§impl From<Fingerprint> for Attribute
impl From<Fingerprint> for Attribute
source§fn from(f: Fingerprint) -> Self
fn from(f: Fingerprint) -> Self
Converts to this type from the input type.
source§impl Hash for Fingerprint
impl Hash for Fingerprint
source§impl PartialEq for Fingerprint
impl PartialEq for Fingerprint
source§fn eq(&self, other: &Fingerprint) -> bool
fn eq(&self, other: &Fingerprint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryAsRef<Fingerprint> for Attribute
impl TryAsRef<Fingerprint> for Attribute
source§fn try_as_ref(&self) -> Option<&Fingerprint>
fn try_as_ref(&self) -> Option<&Fingerprint>
impl Eq for Fingerprint
impl StructuralPartialEq for Fingerprint
Auto Trait Implementations§
impl Freeze for Fingerprint
impl RefUnwindSafe for Fingerprint
impl Send for Fingerprint
impl Sync for Fingerprint
impl Unpin for Fingerprint
impl UnwindSafe for Fingerprint
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