Struct stun_codec::rfc5389::attributes::Nonce
source · pub struct Nonce { /* private fields */ }
Expand description
NONCE
attribute.
See RFC 5389 – 15.8. NONCE about this attribute.
§TODO
- Support [RFC 3261] and [RFC 2617]
Implementations§
Trait Implementations§
source§impl Attribute for Nonce
impl Attribute for Nonce
§type Decoder = NonceDecoder
type Decoder = NonceDecoder
The decoder of the value part of the attribute.
§type Encoder = NonceEncoder
type Encoder = NonceEncoder
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 PartialEq for Nonce
impl PartialEq for Nonce
impl Eq for Nonce
impl StructuralPartialEq for Nonce
Auto Trait Implementations§
impl Freeze for Nonce
impl RefUnwindSafe for Nonce
impl Send for Nonce
impl Sync for Nonce
impl Unpin for Nonce
impl UnwindSafe for Nonce
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