pub struct IceControlling(/* private fields */);
Expand description
The controlling agent MUST include the IceControlling
attribute in a
Binding request. The content of this value
is used as tiebreaker values when an ICE role
conflict occurs
§Examples
let attr = IceControlling::from(1234);
assert_eq!(attr, 1234);
Implementations§
Trait Implementations§
source§impl AsRef<u64> for IceControlling
impl AsRef<u64> for IceControlling
source§impl Clone for IceControlling
impl Clone for IceControlling
source§fn clone(&self) -> IceControlling
fn clone(&self) -> IceControlling
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 IceControlling
impl Debug for IceControlling
source§impl From<IceControlling> for StunAttribute
impl From<IceControlling> for StunAttribute
source§fn from(value: IceControlling) -> Self
fn from(value: IceControlling) -> Self
Converts to this type from the input type.
source§impl From<u64> for IceControlling
impl From<u64> for IceControlling
source§impl Hash for IceControlling
impl Hash for IceControlling
source§impl Ord for IceControlling
impl Ord for IceControlling
source§fn cmp(&self, other: &IceControlling) -> Ordering
fn cmp(&self, other: &IceControlling) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<IceControlling> for u64
impl PartialEq<IceControlling> for u64
source§impl PartialEq<u64> for IceControlling
impl PartialEq<u64> for IceControlling
source§impl PartialEq for IceControlling
impl PartialEq for IceControlling
source§impl PartialOrd<IceControlling> for u64
impl PartialOrd<IceControlling> for u64
source§impl PartialOrd<u64> for IceControlling
impl PartialOrd<u64> for IceControlling
source§impl PartialOrd for IceControlling
impl PartialOrd for IceControlling
source§impl StunAttributeType for IceControlling
impl StunAttributeType for IceControlling
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 IceControlling
impl Eq for IceControlling
impl StructuralPartialEq for IceControlling
Auto Trait Implementations§
impl Freeze for IceControlling
impl RefUnwindSafe for IceControlling
impl Send for IceControlling
impl Sync for IceControlling
impl Unpin for IceControlling
impl UnwindSafe for IceControlling
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
)