Struct rtcp::raw_packet::RawPacket
source · pub struct RawPacket(pub Bytes);
Expand description
RawPacket represents an unparsed RTCP packet. It’s returned by Unmarshal when a packet with an unknown type is encountered.
Tuple Fields§
§0: Bytes
Trait Implementations§
source§impl MarshalSize for RawPacket
impl MarshalSize for RawPacket
fn marshal_size(&self) -> usize
source§impl Packet for RawPacket
impl Packet for RawPacket
source§fn destination_ssrc(&self) -> Vec<u32>
fn destination_ssrc(&self) -> Vec<u32>
destination_ssrc returns an array of SSRC values that this packet refers to.
fn raw_size(&self) -> usize
fn as_any(&self) -> &(dyn Any + Send + Sync)
fn equal(&self, other: &(dyn Packet + Send + Sync)) -> bool
fn cloned(&self) -> Box<dyn Packet + Send + Sync>
source§impl PartialEq for RawPacket
impl PartialEq for RawPacket
impl Eq for RawPacket
impl StructuralPartialEq for RawPacket
Auto Trait Implementations§
impl !Freeze for RawPacket
impl RefUnwindSafe for RawPacket
impl Send for RawPacket
impl Sync for RawPacket
impl Unpin for RawPacket
impl UnwindSafe for RawPacket
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