pub struct UseCandidate {}
Expand description
The controlling agent MUST include the UseCandidate
attribute in
order to nominate a candidate pair
Section 8.1.1.
The controlled agent MUST NOT include the UseCandidate
attribute in a Binding request.
§Examples
let attr = UseCandidate::default();
assert_eq!(attr.attribute_type(), AttributeType::from(0x0025));
Trait Implementations§
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§fn default() -> UseCandidate
fn default() -> UseCandidate
Returns the “default value” for a type. Read more
source§impl From<UseCandidate> for StunAttribute
impl From<UseCandidate> for StunAttribute
source§fn from(value: UseCandidate) -> Self
fn from(value: UseCandidate) -> Self
Converts to this type from the input type.
source§impl PartialEq for UseCandidate
impl PartialEq for UseCandidate
source§impl StunAttributeType for UseCandidate
impl StunAttributeType for UseCandidate
source§fn get_type() -> AttributeTypewhere
Self: Sized,
fn get_type() -> AttributeTypewhere
Self: Sized,
Returns the STUN attribute type.
source§fn attribute_type(&self) -> AttributeType
fn attribute_type(&self) -> AttributeType
Returns the STUN attribute type of this instance.
impl Copy for UseCandidate
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<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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)