pub struct RtpPacket {
pub version: u8,
pub padding: bool,
pub extension: bool,
pub marker: bool,
pub payload_type: PayloadType,
pub sequence_number: u16,
pub timestamp: u32,
pub ssrc: u32,
pub csrc: Vec<u32>,
pub payload_length: usize,
}Fields§
§version: u8§padding: bool§extension: bool§marker: bool§payload_type: PayloadType§sequence_number: u16§timestamp: u32§ssrc: u32§csrc: Vec<u32>§payload_length: usizeImplementations§
Trait Implementations§
Source§impl<'__de> BorrowDecode<'__de> for RtpPacket
impl<'__de> BorrowDecode<'__de> for RtpPacket
Source§fn borrow_decode<__D: BorrowDecoder<'__de>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Auto Trait Implementations§
impl Freeze for RtpPacket
impl RefUnwindSafe for RtpPacket
impl Send for RtpPacket
impl Sync for RtpPacket
impl Unpin 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