pub struct MediaCodecs {
pub negotiated: Option<CodecOffer>,
pub offered: Vec<CodecOffer>,
}Expand description
What one media type’s negotiation produced for a session.
Fields§
§negotiated: Option<CodecOffer>Last codec FreeSWITCH saved as a match.
offered: Vec<CodecOffer>Distinct codecs the far end offered, in first-seen order.
Trait Implementations§
Source§impl Clone for MediaCodecs
impl Clone for MediaCodecs
Source§fn clone(&self) -> MediaCodecs
fn clone(&self) -> MediaCodecs
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 MediaCodecs
impl Debug for MediaCodecs
Source§impl Default for MediaCodecs
impl Default for MediaCodecs
Source§fn default() -> MediaCodecs
fn default() -> MediaCodecs
Returns the “default value” for a type. Read more
impl Eq for MediaCodecs
Source§impl PartialEq for MediaCodecs
impl PartialEq for MediaCodecs
impl StructuralPartialEq for MediaCodecs
Auto Trait Implementations§
impl Freeze for MediaCodecs
impl RefUnwindSafe for MediaCodecs
impl Send for MediaCodecs
impl Sync for MediaCodecs
impl Unpin for MediaCodecs
impl UnsafeUnpin for MediaCodecs
impl UnwindSafe for MediaCodecs
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.