pub struct OpusPacket;
Expand description
OpusPacket represents the Opus header that is stored in the payload of an RTP Packet
Trait Implementations§
Source§impl Clone for OpusPacket
impl Clone for OpusPacket
Source§fn clone(&self) -> OpusPacket
fn clone(&self) -> OpusPacket
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 moreSource§impl Debug for OpusPacket
impl Debug for OpusPacket
Source§impl Default for OpusPacket
impl Default for OpusPacket
Source§fn default() -> OpusPacket
fn default() -> OpusPacket
Returns the “default value” for a type. Read more
Source§impl Depacketizer for OpusPacket
impl Depacketizer for OpusPacket
fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes>
Source§fn is_partition_head(&self, _payload: &Bytes) -> bool
fn is_partition_head(&self, _payload: &Bytes) -> bool
Checks if the packet is at the beginning of a partition. This
should return false if the result could not be determined, in
which case the caller will detect timestamp discontinuities.
Source§impl PartialEq for OpusPacket
impl PartialEq for OpusPacket
impl Eq for OpusPacket
impl StructuralPartialEq for OpusPacket
Auto Trait Implementations§
impl Freeze for OpusPacket
impl RefUnwindSafe for OpusPacket
impl Send for OpusPacket
impl Sync for OpusPacket
impl Unpin for OpusPacket
impl UnwindSafe for OpusPacket
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