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<'a> From<&UseCandidate> for RawAttribute<'a>
impl<'a> From<&UseCandidate> for RawAttribute<'a>
source§fn from(_value: &UseCandidate) -> RawAttribute<'a>
fn from(_value: &UseCandidate) -> RawAttribute<'a>
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<'a> TryFrom<&RawAttribute<'a>> for UseCandidate
impl<'a> TryFrom<&RawAttribute<'a>> 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
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)