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
Source§type Decoder = DataDecoder
type Decoder = DataDecoder
The decoder of the value part of the attribute.
Source§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.
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