pub struct TransportLayerNack {
pub sender_ssrc: u32,
pub media_ssrc: u32,
pub nacks: Vec<NackPair>,
}
Fields§
§sender_ssrc: u32
SSRC of sender
media_ssrc: u32
SSRC of the media source
nacks: Vec<NackPair>
Trait Implementations§
source§impl Clone for TransportLayerNack
impl Clone for TransportLayerNack
source§fn clone(&self) -> TransportLayerNack
fn clone(&self) -> TransportLayerNack
Returns a copy 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 TransportLayerNack
impl Debug for TransportLayerNack
source§impl Default for TransportLayerNack
impl Default for TransportLayerNack
source§fn default() -> TransportLayerNack
fn default() -> TransportLayerNack
Returns the “default value” for a type. Read more
source§impl Display for TransportLayerNack
impl Display for TransportLayerNack
source§impl Marshal for TransportLayerNack
impl Marshal for TransportLayerNack
source§impl MarshalSize for TransportLayerNack
impl MarshalSize for TransportLayerNack
fn marshal_size(&self) -> usize
source§impl Packet for TransportLayerNack
impl Packet for TransportLayerNack
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 TransportLayerNack
impl PartialEq for TransportLayerNack
source§fn eq(&self, other: &TransportLayerNack) -> bool
fn eq(&self, other: &TransportLayerNack) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Unmarshal for TransportLayerNack
impl Unmarshal for TransportLayerNack
impl Eq for TransportLayerNack
impl StructuralPartialEq for TransportLayerNack
Auto Trait Implementations§
impl RefUnwindSafe for TransportLayerNack
impl Send for TransportLayerNack
impl Sync for TransportLayerNack
impl Unpin for TransportLayerNack
impl UnwindSafe for TransportLayerNack
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