Struct stun_codec::RawAttribute
source · pub struct RawAttribute { /* private fields */ }
Expand description
An Attribute
implementation that has raw value bytes.
Implementations§
source§impl RawAttribute
impl RawAttribute
Trait Implementations§
source§impl Attribute for RawAttribute
impl Attribute for RawAttribute
§type Decoder = RawAttributeDecoder
type Decoder = RawAttributeDecoder
The decoder of the value part of the attribute.
§type Encoder = RawAttributeEncoder
type Encoder = RawAttributeEncoder
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 Clone for RawAttribute
impl Clone for RawAttribute
source§fn clone(&self) -> RawAttribute
fn clone(&self) -> RawAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for RawAttribute
impl RefUnwindSafe for RawAttribute
impl Send for RawAttribute
impl Sync for RawAttribute
impl Unpin for RawAttribute
impl UnwindSafe for RawAttribute
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