Enum webrtc::rtp_transceiver::rtp_codec::RTPCodecType
source · pub enum RTPCodecType {
Unspecified = 0,
Audio = 1,
Video = 2,
}
Expand description
RTPCodecType determines the type of a codec
Variants§
Unspecified = 0
Audio = 1
RTPCodecTypeAudio indicates this is an audio codec
Video = 2
RTPCodecTypeVideo indicates this is a video codec
Trait Implementations§
source§impl Clone for RTPCodecType
impl Clone for RTPCodecType
source§fn clone(&self) -> RTPCodecType
fn clone(&self) -> RTPCodecType
Returns a copy 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 moresource§impl Debug for RTPCodecType
impl Debug for RTPCodecType
source§impl Default for RTPCodecType
impl Default for RTPCodecType
source§fn default() -> RTPCodecType
fn default() -> RTPCodecType
Returns the “default value” for a type. Read more
source§impl Display for RTPCodecType
impl Display for RTPCodecType
source§impl From<&str> for RTPCodecType
impl From<&str> for RTPCodecType
source§impl From<u8> for RTPCodecType
impl From<u8> for RTPCodecType
source§impl PartialEq for RTPCodecType
impl PartialEq for RTPCodecType
source§fn eq(&self, other: &RTPCodecType) -> bool
fn eq(&self, other: &RTPCodecType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RTPCodecType
impl Eq for RTPCodecType
impl StructuralPartialEq for RTPCodecType
Auto Trait Implementations§
impl Freeze for RTPCodecType
impl RefUnwindSafe for RTPCodecType
impl Send for RTPCodecType
impl Sync for RTPCodecType
impl Unpin for RTPCodecType
impl UnwindSafe for RTPCodecType
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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