Struct stun_types::attribute::Nonce
source · pub struct Nonce { /* private fields */ }Expand description
The Nonce Attribute
Implementations§
Trait Implementations§
source§impl From<Nonce> for RawAttribute
impl From<Nonce> for RawAttribute
source§fn from(value: Nonce) -> RawAttribute
fn from(value: Nonce) -> RawAttribute
Converts to this type from the input type.
source§impl PartialEq for Nonce
impl PartialEq for Nonce
source§impl TryFrom<&RawAttribute> for Nonce
impl TryFrom<&RawAttribute> for Nonce
§type Error = StunParseError
type Error = StunParseError
The type returned in the event of a conversion error.
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<E, T> AttributeFromRaw<E> for T
impl<E, T> AttributeFromRaw<E> for T
source§fn from_raw(raw: &RawAttribute) -> Result<T, E>
fn from_raw(raw: &RawAttribute) -> Result<T, E>
Convert an
Attribute from a RawAttributesource§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