Trait rtcp::packet::Packet[][src]

pub trait Packet: Marshal + Unmarshal + Display + Debug {
    fn header(&self) -> Header;
fn destination_ssrc(&self) -> Vec<u32>;
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>; }
Expand description

Packet represents an RTCP packet, a protocol used for out-of-band statistics and control information for an RTP session

Required methods

Trait Implementations

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Implementors