Struct sdp::extmap::ExtMap[][src]

pub struct ExtMap {
    pub value: isize,
    pub direction: Direction,
    pub uri: Option<Url>,
    pub ext_attr: Option<String>,
}

ExtMap represents the activation of a single RTP header extension

Fields

value: isizedirection: Directionuri: Option<Url>ext_attr: Option<String>

Implementations

impl ExtMap[src]

pub fn convert(&self) -> Attribute[src]

converts this object to an Attribute

pub fn unmarshal<R: BufRead>(reader: &mut R) -> Result<Self, Error>[src]

unmarshal creates an Extmap from a string

pub fn marshal(&self) -> String[src]

marshal creates a string from an ExtMap

Trait Implementations

impl Clone for ExtMap[src]

impl Debug for ExtMap[src]

impl Default for ExtMap[src]

impl Display for ExtMap[src]

Auto Trait Implementations

impl RefUnwindSafe for ExtMap

impl Send for ExtMap

impl Sync for ExtMap

impl Unpin for ExtMap

impl UnwindSafe for ExtMap

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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,