pub struct ExtMap {
pub value: u16,
pub direction: Direction,
pub uri: Option<Url>,
pub ext_attr: Option<String>,
}Expand description
ExtMap represents the activation of a single RTP header extension
Fields§
§value: u16The id this extension is negotiated under, as it appears in RTP packets.
direction: DirectionThe direction the extension applies in, if the attribute restricted it.
uri: Option<Url>The extension’s canonical URI.
ext_attr: Option<String>Extension-specific attributes trailing the URI.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExtMap
impl RefUnwindSafe for ExtMap
impl Send for ExtMap
impl Sync for ExtMap
impl Unpin for ExtMap
impl UnsafeUnpin for ExtMap
impl UnwindSafe for ExtMap
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