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
sourceimpl Clone for RTPCodecType
impl Clone for RTPCodecType
sourcefn clone(&self) -> RTPCodecType
fn clone(&self) -> RTPCodecType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RTPCodecType
impl Debug for RTPCodecType
sourceimpl Default for RTPCodecType
impl Default for RTPCodecType
sourceimpl Display for RTPCodecType
impl Display for RTPCodecType
sourceimpl From<&str> for RTPCodecType
impl From<&str> for RTPCodecType
sourceimpl From<u8> for RTPCodecType
impl From<u8> for RTPCodecType
sourceimpl PartialEq<RTPCodecType> for RTPCodecType
impl PartialEq<RTPCodecType> for RTPCodecType
sourcefn eq(&self, other: &RTPCodecType) -> bool
fn eq(&self, other: &RTPCodecType) -> bool
impl Copy for RTPCodecType
impl Eq for RTPCodecType
impl StructuralEq for RTPCodecType
impl StructuralPartialEq for RTPCodecType
Auto Trait Implementations
impl RefUnwindSafe for RTPCodecType
impl Send for RTPCodecType
impl Sync for RTPCodecType
impl Unpin for RTPCodecType
impl UnwindSafe for RTPCodecType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more