Struct stun_codec::rfc5245::attributes::IceControlled[][src]

pub struct IceControlled(_);

ICE-CONTROLLED attribute.

See RFC 5245 -- 7.1.2.1 ICE-CONTROLLED about this attribute.

Implementations

impl IceControlled[src]

pub const CODEPOINT: u16[src]

The codepoint of the type of the attribute.

pub fn new(rnd: u64) -> Self[src]

Makes a new IceControlled instance.

pub fn prio(&self) -> u64[src]

Returns the alternate address.

Trait Implementations

impl Attribute for IceControlled[src]

type Decoder = IceControlledDecoder

The decoder of the value part of the attribute.

type Encoder = IceControlledEncoder

The encoder of the value part of the attribute.

impl Clone for IceControlled[src]

impl Debug for IceControlled[src]

impl Eq for IceControlled[src]

impl From<IceControlled> for Attribute[src]

impl Hash for IceControlled[src]

impl PartialEq<IceControlled> for IceControlled[src]

impl StructuralEq for IceControlled[src]

impl StructuralPartialEq for IceControlled[src]

impl TryAsRef<IceControlled> for Attribute[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.