Struct stun_codec::rfc5766::attributes::Data
source · pub struct Data(/* private fields */);
Expand description
DATA
attribute.
See RFC 5766 – 14.4. DATA about this attribute.
Implementations§
Trait Implementations§
source§impl Attribute for Data
impl Attribute for Data
§type Decoder = DataDecoder
type Decoder = DataDecoder
The decoder of the value part of the attribute.
§type Encoder = DataEncoder
type Encoder = DataEncoder
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 Data
impl PartialEq for Data
impl Eq for Data
impl StructuralPartialEq for Data
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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