Struct stun_types::attribute::Priority
source · pub struct Priority { /* private fields */ }Expand description
The Priority Attribute
Implementations§
Trait Implementations§
source§impl From<Priority> for RawAttribute
impl From<Priority> for RawAttribute
source§fn from(value: Priority) -> RawAttribute
fn from(value: Priority) -> RawAttribute
Converts to this type from the input type.
source§impl PartialEq for Priority
impl PartialEq for Priority
source§impl TryFrom<&RawAttribute> for Priority
impl TryFrom<&RawAttribute> for Priority
§type Error = StunParseError
type Error = StunParseError
The type returned in the event of a conversion error.
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<E, T> AttributeFromRaw<E> for T
impl<E, T> AttributeFromRaw<E> for T
source§fn from_raw(raw: &RawAttribute) -> Result<T, E>
fn from_raw(raw: &RawAttribute) -> Result<T, E>
Convert an
Attribute from a RawAttributesource§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