pub struct RtpHeaderExtension { /* private fields */ }Expand description
RTP header extension.
Implementations§
Source§impl RtpHeaderExtension
impl RtpHeaderExtension
Sourcepub fn decode(data: &mut Bytes) -> Result<Self, InvalidInput>
pub fn decode(data: &mut Bytes) -> Result<Self, InvalidInput>
Decode RTP header extension from given data.
Trait Implementations§
Source§impl Clone for RtpHeaderExtension
impl Clone for RtpHeaderExtension
Source§fn clone(&self) -> RtpHeaderExtension
fn clone(&self) -> RtpHeaderExtension
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for RtpHeaderExtension
impl RefUnwindSafe for RtpHeaderExtension
impl Send for RtpHeaderExtension
impl Sync for RtpHeaderExtension
impl Unpin for RtpHeaderExtension
impl UnwindSafe for RtpHeaderExtension
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