pub struct SourceDescription {
pub chunks: Vec<SourceDescriptionChunk>,
}Expand description
A SourceDescription (SDES) packet describes the sources in an RTP stream.
Fields§
§chunks: Vec<SourceDescriptionChunk>One chunk per source described by this packet.
Trait Implementations§
Source§impl Clone for SourceDescription
impl Clone for SourceDescription
Source§fn clone(&self) -> SourceDescription
fn clone(&self) -> SourceDescription
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SourceDescription
impl Debug for SourceDescription
Source§impl Default for SourceDescription
impl Default for SourceDescription
Source§fn default() -> SourceDescription
fn default() -> SourceDescription
Returns the “default value” for a type. Read more
Source§impl Display for SourceDescription
impl Display for SourceDescription
impl Eq for SourceDescription
Source§impl Marshal for SourceDescription
impl Marshal for SourceDescription
Source§impl MarshalSize for SourceDescription
impl MarshalSize for SourceDescription
Source§fn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
The number of bytes
Marshal::marshal_to will write for this value.Source§impl Packet for SourceDescription
impl Packet for SourceDescription
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.
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Downcasting hook, so a caller holding
Box<dyn Packet> can recover the concrete type.Source§impl PartialEq for SourceDescription
impl PartialEq for SourceDescription
impl StructuralPartialEq for SourceDescription
Auto Trait Implementations§
impl Freeze for SourceDescription
impl RefUnwindSafe for SourceDescription
impl Send for SourceDescription
impl Sync for SourceDescription
impl Unpin for SourceDescription
impl UnsafeUnpin for SourceDescription
impl UnwindSafe for SourceDescription
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