#[non_exhaustive]pub enum CodecMedia {
Audio,
Video,
}Expand description
Which negotiation trace a codec token came from.
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.
Trait Implementations§
Source§impl Clone for CodecMedia
impl Clone for CodecMedia
Source§fn clone(&self) -> CodecMedia
fn clone(&self) -> CodecMedia
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 CodecMedia
Source§impl Debug for CodecMedia
impl Debug for CodecMedia
Source§impl Display for CodecMedia
impl Display for CodecMedia
impl Eq for CodecMedia
Source§impl Hash for CodecMedia
impl Hash for CodecMedia
Source§impl PartialEq for CodecMedia
impl PartialEq for CodecMedia
impl StructuralPartialEq for CodecMedia
Auto Trait Implementations§
impl Freeze for CodecMedia
impl RefUnwindSafe for CodecMedia
impl Send for CodecMedia
impl Sync for CodecMedia
impl Unpin for CodecMedia
impl UnsafeUnpin for CodecMedia
impl UnwindSafe for CodecMedia
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.