pub struct RtpPacket {
pub header: RtpHeader,
pub payload: Vec<u8>,
}Expand description
A complete RTP packet (header + payload).
Fields§
§header: RtpHeaderThe RTP header.
payload: Vec<u8>The payload data.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RtpPacket
impl RefUnwindSafe for RtpPacket
impl Send for RtpPacket
impl Sync for RtpPacket
impl Unpin for RtpPacket
impl UnsafeUnpin for RtpPacket
impl UnwindSafe for RtpPacket
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