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