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