#[non_exhaustive]pub enum SdpCodecEntry {
Rtp(SdpCodec),
T38,
}Expand description
A single entry in a parsed SDP offer.
Payloads negotiated outside the codec string are excluded from entries and
retained whole by SdpMediaSection::non_codec_payloads.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Rtp(SdpCodec)
An RTP codec negotiated via a=rtpmap or the RFC 3551 static table.
T38
T.38 fax relay, derived from any m=image section.
The proto and fmt fields are not inspected — FreeSWITCH negotiates T.38
parameters independently of the codec string. Whether the section reaches
a codec string is SdpMediaSection::is_negotiable.
Trait Implementations§
Source§impl Clone for SdpCodecEntry
impl Clone for SdpCodecEntry
Source§fn clone(&self) -> SdpCodecEntry
fn clone(&self) -> SdpCodecEntry
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 moreAuto Trait Implementations§
impl Freeze for SdpCodecEntry
impl RefUnwindSafe for SdpCodecEntry
impl Send for SdpCodecEntry
impl Sync for SdpCodecEntry
impl Unpin for SdpCodecEntry
impl UnsafeUnpin for SdpCodecEntry
impl UnwindSafe for SdpCodecEntry
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