#[repr(u8)]pub enum Component {
Rtp = 1,
Rtcp = 2,
}Expand description
Component of the data stream
Variants§
Rtp = 1
The RTP component of the data stream. This will also contain RTCP if rtcp-mux is enabled.
Rtcp = 2
The RTCP component of the data stream. This will not be used if rtcp-mux is enabled.
Trait Implementations§
impl Copy for Component
impl Eq for Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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