Struct stun_types::attribute::Priority
source · pub struct Priority { /* private fields */ }Expand description
The Priority Attribute
Implementations§
Trait Implementations§
source§impl<'a> From<&Priority> for RawAttribute<'a>
impl<'a> From<&Priority> for RawAttribute<'a>
source§fn from(value: &Priority) -> RawAttribute<'a>
fn from(value: &Priority) -> RawAttribute<'a>
Converts to this type from the input type.
source§impl PartialEq for Priority
impl PartialEq for Priority
source§impl<'a> TryFrom<&RawAttribute<'a>> for Priority
impl<'a> TryFrom<&RawAttribute<'a>> 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)