#[non_exhaustive]pub enum NonCodecKind {
TelephoneEvent,
ComfortNoise,
}Expand description
A payload type FreeSWITCH negotiates outside the codec string.
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.
TelephoneEvent
RFC 2833 / RFC 4733 DTMF, carried as smh->mparams->te.
ComfortNoise
Comfort noise, carried as smh->mparams->cng_pt.
Trait Implementations§
Source§impl Clone for NonCodecKind
impl Clone for NonCodecKind
Source§fn clone(&self) -> NonCodecKind
fn clone(&self) -> NonCodecKind
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 moreimpl Copy for NonCodecKind
Source§impl Debug for NonCodecKind
impl Debug for NonCodecKind
Source§impl Display for NonCodecKind
impl Display for NonCodecKind
impl Eq for NonCodecKind
Source§impl Hash for NonCodecKind
impl Hash for NonCodecKind
Source§impl PartialEq for NonCodecKind
impl PartialEq for NonCodecKind
impl StructuralPartialEq for NonCodecKind
Auto Trait Implementations§
impl Freeze for NonCodecKind
impl RefUnwindSafe for NonCodecKind
impl Send for NonCodecKind
impl Sync for NonCodecKind
impl Unpin for NonCodecKind
impl UnsafeUnpin for NonCodecKind
impl UnwindSafe for NonCodecKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.