pub struct RtpParsedHeader {
pub header: RtpHeader,
pub payload_offset: usize,
}Expand description
The fields and byte length of an RTP header. Unlike RtpParsed, this
does not inspect the payload or its padding count, so SRTP can parse the
authenticated header before decrypting the payload and padding.
Fields§
§header: RtpHeaderThe fixed-header fields (RtpHeader::to_bytes round-trips these).
payload_offset: usizeByte offset immediately after the CSRC list and extension header.
Trait Implementations§
Source§impl Clone for RtpParsedHeader
impl Clone for RtpParsedHeader
Source§fn clone(&self) -> RtpParsedHeader
fn clone(&self) -> RtpParsedHeader
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RtpParsedHeader
Source§impl Debug for RtpParsedHeader
impl Debug for RtpParsedHeader
impl Eq for RtpParsedHeader
Source§impl PartialEq for RtpParsedHeader
impl PartialEq for RtpParsedHeader
impl StructuralPartialEq for RtpParsedHeader
Auto Trait Implementations§
impl Freeze for RtpParsedHeader
impl RefUnwindSafe for RtpParsedHeader
impl Send for RtpParsedHeader
impl Sync for RtpParsedHeader
impl Unpin for RtpParsedHeader
impl UnsafeUnpin for RtpParsedHeader
impl UnwindSafe for RtpParsedHeader
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