pub enum Packet {
Rtp(Packet),
Rtcp(Vec<Box<dyn Packet>>),
}Expand description
RTP/RTCP Packet
An enum representing either an RTP or RTCP packet that can be processed by interceptors in the chain.
Variants§
Rtp(Packet)
RTP (Real-time Transport Protocol) packet containing media data
Rtcp(Vec<Box<dyn Packet>>)
RTCP (RTP Control Protocol) packets for feedback and statistics
Trait Implementations§
impl StructuralPartialEq for Packet
Auto Trait Implementations§
impl !Freeze for Packet
impl !RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl !UnwindSafe for Packet
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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