pub struct RtpLayout {
pub payload_type: u8,
pub header_len: usize,
pub payload_len: usize,
pub padding_len: usize,
}Expand description
Where the parts of a valid RTP packet lie.
Fields§
§payload_type: u8The payload type.
header_len: usizeBytes of header: the fixed header, the CSRC list and the extension block.
payload_len: usizeBytes of payload, padding excluded.
padding_len: usizeBytes of padding after the payload, the count octet included; 0 without the P bit.
Trait Implementations§
impl Copy for RtpLayout
impl Eq for RtpLayout
impl StructuralPartialEq for RtpLayout
Auto Trait Implementations§
impl Forget for RtpLayout
impl Freeze for RtpLayout
impl Move for RtpLayout
impl RefUnwindSafe for RtpLayout
impl Send for RtpLayout
impl Sync for RtpLayout
impl Unpin for RtpLayout
impl UnsafeUnpin for RtpLayout
impl UnwindSafe for RtpLayout
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