pub struct SourceDescriptionPacket { /* private fields */ }Expand description
Source description packet.
Implementations§
Source§impl SourceDescriptionPacket
impl SourceDescriptionPacket
Sourcepub fn with_source_descriptions<T>(self, descriptions: T) -> Self
pub fn with_source_descriptions<T>(self, descriptions: T) -> Self
Set the source descriptions.
§Panics
The method will panic if the number of source descriptions is greater than 31.
Sourcepub fn encode(&self) -> RtcpPacket
pub fn encode(&self) -> RtcpPacket
Encode the source description packet.
Trait Implementations§
Source§impl Clone for SourceDescriptionPacket
impl Clone for SourceDescriptionPacket
Source§fn clone(&self) -> SourceDescriptionPacket
fn clone(&self) -> SourceDescriptionPacket
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 moreAuto Trait Implementations§
impl Freeze for SourceDescriptionPacket
impl RefUnwindSafe for SourceDescriptionPacket
impl Send for SourceDescriptionPacket
impl Sync for SourceDescriptionPacket
impl Unpin for SourceDescriptionPacket
impl UnwindSafe for SourceDescriptionPacket
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