Enum webrtc::rtp_transceiver::rtp_codec::RTPCodecType
source · pub enum RTPCodecType {
Unspecified,
Audio,
Video,
}
Expand description
RTPCodecType determines the type of a codec
Variants§
Unspecified
Audio
RTPCodecTypeAudio indicates this is an audio codec
Video
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§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<RTPCodecType> for RTPCodecType
impl PartialEq<RTPCodecType> 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 ==
.