Struct stun_types::attribute::UseCandidate
source · pub struct UseCandidate {}Expand description
The UseCandidate Attribute
Implementations§
Trait Implementations§
source§impl Attribute for UseCandidate
impl Attribute for UseCandidate
source§impl Clone for UseCandidate
impl Clone for UseCandidate
source§fn clone(&self) -> UseCandidate
fn clone(&self) -> UseCandidate
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 moresource§impl Debug for UseCandidate
impl Debug for UseCandidate
source§impl Default for UseCandidate
impl Default for UseCandidate
source§impl Display for UseCandidate
impl Display for UseCandidate
source§impl From<UseCandidate> for RawAttribute
impl From<UseCandidate> for RawAttribute
source§fn from(_value: UseCandidate) -> RawAttribute
fn from(_value: UseCandidate) -> RawAttribute
Converts to this type from the input type.
source§impl PartialEq for UseCandidate
impl PartialEq for UseCandidate
source§fn eq(&self, other: &UseCandidate) -> bool
fn eq(&self, other: &UseCandidate) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&RawAttribute> for UseCandidate
impl TryFrom<&RawAttribute> for UseCandidate
§type Error = StunParseError
type Error = StunParseError
The type returned in the event of a conversion error.
impl Eq for UseCandidate
impl StructuralPartialEq for UseCandidate
Auto Trait Implementations§
impl Freeze for UseCandidate
impl RefUnwindSafe for UseCandidate
impl Send for UseCandidate
impl Sync for UseCandidate
impl Unpin for UseCandidate
impl UnwindSafe for UseCandidate
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