Skip to main content

AudioSubtype

Enum AudioSubtype 

Source
pub enum AudioSubtype {
Show 164 variants _1DInterleavedParityfec, _32Kadpcm, _3Gpp, _3Gpp2, Aac, Ac3, Amr, AmrWb, AmrWbPlus, Aptx, Asc, AtracAdvancedLossless, AtracX, Atrac3, Basic, Bv16, Bv32, Clearmode, Cn, Dat12, Dls, DsrEs201108, DsrEs202050, DsrEs202211, DsrEs202212, Dv, Dvi4, Eac3, Encaprtp, Evrc, EvrcQcp, Evrc0, Evrc1, Evrcb, Evrcb0, Evrcb1, Evrcnw, Evrcnw0, Evrcnw1, Evrcwb, Evrcwb0, Evrcwb1, Evs, Example, Flac, Flexfec, Fwdred, G7110, G719, G722, G7221, G723, G72616, G72624, G72632, G72640, G728, G729, G7291, G729D, G729E, Gsm, GsmEfr, GsmHr08, ILbc, IpMrV2Dot5, L16, L20, L24, L8, Lpc, Matroska, Melp, Melp1200, Melp2400, Melp600, Mhas, MidiClip, MobileXmf, Mp4, Mp4ALatm, Mpa, MpaRobust, Mpeg, Mpeg4Generic, Ogg, Opus, Parityfec, Pcma, PcmaWb, Pcmu, PcmuWb, PrsDotSid, Qcelp, Raptorfec, Red, RtpEncAescm128, RtpMidi, Rtploopback, Rtx, Scip, Smv, SmvQcp, Smv0, Sofa, Soundfont, SpMidi, Speex, T140C, T38, TelephoneEvent, TetraAcelp, TetraAcelpBb, Tone, Tsvcis, Uemclip, Ulpfec, Usac, Vdvi, VmrWb, VndDot3GppDotIufp, VndDot4Sb, VndDotAudiokoz, VndDotBlockfactDotFacta, VndDotCelp, VndDotCiscoDotNse, VndDotCmlesDotRadioEvents, VndDotCnsDotAnp1, VndDotCnsDotInf1, VndDotDeceDotAudio, VndDotDigitalWinds, VndDotDlnaDotAdts, VndDotDolbyDotHeaacDot1, VndDotDolbyDotHeaacDot2, VndDotDolbyDotMlp, VndDotDolbyDotMps, VndDotDolbyDotPl2, VndDotDolbyDotPl2X, VndDotDolbyDotPl2Z, VndDotDolbyDotPulseDot1, VndDotDra, VndDotDts, VndDotDtsDotHd, VndDotDtsDotUhd, VndDotDvbDotFile, VndDotEveradDotPlj, VndDotHnsDotAudio, VndDotLucentDotVoice, VndDotMsPlayreadyDotMediaDotPya, VndDotNokiaDotMobileXmf, VndDotNortelDotVbk, VndDotNueraDotEcelp4800, VndDotNueraDotEcelp7470, VndDotNueraDotEcelp9600, VndDotOctelDotSbc, VndDotPresonusDotMultitrack, VndDotQcelpDeprecatedInFavorOfAudioQcelp, VndDotRhetorexDot32Kadpcm, VndDotRip, VndDotSealedmediaDotSoftsealDotMpeg, VndDotVmxDotCvsd, Vorbis, VorbisConfig, Private(PrivateSubtype),
}

Variants§

§

_1DInterleavedParityfec

1d-interleaved-parityfec

§

_32Kadpcm

32kadpcm

§

_3Gpp

3gpp

§

_3Gpp2

3gpp2

§

Aac

aac

§

Ac3

ac3

§

Amr

AMR

§

AmrWb

AMR-WB

§

AmrWbPlus

amr-wb+

§

Aptx

aptx

§

Asc

asc

§

AtracAdvancedLossless

ATRAC-ADVANCED-LOSSLESS

§

AtracX

ATRAC-X

§

Atrac3

ATRAC3

§

Basic

basic

§

Bv16

BV16

§

Bv32

BV32

§

Clearmode

clearmode

§

Cn

CN

§

Dat12

DAT12

§

Dls

dls

§

DsrEs201108

dsr-es201108

§

DsrEs202050

dsr-es202050

§

DsrEs202211

dsr-es202211

§

DsrEs202212

dsr-es202212

§

Dv

DV

§

Dvi4

DVI4

§

Eac3

eac3

§

Encaprtp

encaprtp

§

Evrc

EVRC

§

EvrcQcp

EVRC-QCP

§

Evrc0

EVRC0

§

Evrc1

EVRC1

§

Evrcb

EVRCB

§

Evrcb0

EVRCB0

§

Evrcb1

EVRCB1

§

Evrcnw

EVRCNW

§

Evrcnw0

EVRCNW0

§

Evrcnw1

EVRCNW1

§

Evrcwb

EVRCWB

§

Evrcwb0

EVRCWB0

§

Evrcwb1

EVRCWB1

§

Evs

EVS

§

Example

example

§

Flac

flac

§

Flexfec

flexfec

§

Fwdred

fwdred

§

G7110

G711-0

§

G719

G719

§

G722

G722

§

G7221

G7221

§

G723

G723

§

G72616

G726-16

§

G72624

G726-24

§

G72632

G726-32

§

G72640

G726-40

§

G728

G728

§

G729

G729

§

G7291

G7291

§

G729D

G729D

§

G729E

G729E

§

Gsm

GSM

§

GsmEfr

GSM-EFR

§

GsmHr08

GSM-HR-08

§

ILbc

iLBC

§

IpMrV2Dot5

ip-mr_v2.5

§

L16

L16

§

L20

L20

§

L24

L24

§

L8

L8

§

Lpc

LPC

§

Matroska

matroska

§

Melp

MELP

§

Melp1200

MELP1200

§

Melp2400

MELP2400

§

Melp600

MELP600

§

Mhas

mhas

§

MidiClip

midi-clip

§

MobileXmf

mobile-xmf

§

Mp4

mp4

§

Mp4ALatm

MP4A-LATM

§

Mpa

MPA

§

MpaRobust

mpa-robust

§

Mpeg

mpeg

§

Mpeg4Generic

mpeg4-generic

§

Ogg

ogg

§

Opus

opus

§

Parityfec

parityfec

§

Pcma

PCMA

§

PcmaWb

PCMA-WB

§

Pcmu

PCMU

§

PcmuWb

PCMU-WB

§

PrsDotSid

prs.sid

§

Qcelp

QCELP

§

Raptorfec

raptorfec

§

Red

RED

§

RtpEncAescm128

rtp-enc-aescm128

§

RtpMidi

rtp-midi

§

Rtploopback

rtploopback

§

Rtx

rtx

§

Scip

scip

§

Smv

SMV

§

SmvQcp

SMV-QCP

§

Smv0

SMV0

§

Sofa

sofa

§

Soundfont

soundfont

§

SpMidi

sp-midi

§

Speex

speex

§

T140C

t140c

§

T38

t38

§

TelephoneEvent

telephone-event

§

TetraAcelp

TETRA_ACELP

§

TetraAcelpBb

TETRA_ACELP_BB

§

Tone

tone

§

Tsvcis

TSVCIS

§

Uemclip

UEMCLIP

§

Ulpfec

ulpfec

§

Usac

usac

§

Vdvi

VDVI

§

VmrWb

VMR-WB

§

VndDot3GppDotIufp

vnd.3gpp.iufp

§

VndDot4Sb

vnd.4SB

§

VndDotAudiokoz

vnd.audiokoz

§

VndDotBlockfactDotFacta

vnd.blockfact.facta

§

VndDotCelp

vnd.CELP

§

VndDotCiscoDotNse

vnd.cisco.nse

§

VndDotCmlesDotRadioEvents

vnd.cmles.radio-events

§

VndDotCnsDotAnp1

vnd.cns.anp1

§

VndDotCnsDotInf1

vnd.cns.inf1

§

VndDotDeceDotAudio

vnd.dece.audio

§

VndDotDigitalWinds

vnd.digital-winds

§

VndDotDlnaDotAdts

vnd.dlna.adts

§

VndDotDolbyDotHeaacDot1

vnd.dolby.heaac.1

§

VndDotDolbyDotHeaacDot2

vnd.dolby.heaac.2

§

VndDotDolbyDotMlp

vnd.dolby.mlp

§

VndDotDolbyDotMps

vnd.dolby.mps

§

VndDotDolbyDotPl2

vnd.dolby.pl2

§

VndDotDolbyDotPl2X

vnd.dolby.pl2x

§

VndDotDolbyDotPl2Z

vnd.dolby.pl2z

§

VndDotDolbyDotPulseDot1

vnd.dolby.pulse.1

§

VndDotDra

vnd.dra

§

VndDotDts

vnd.dts

§

VndDotDtsDotHd

vnd.dts.hd

§

VndDotDtsDotUhd

vnd.dts.uhd

§

VndDotDvbDotFile

vnd.dvb.file

§

VndDotEveradDotPlj

vnd.everad.plj

§

VndDotHnsDotAudio

vnd.hns.audio

§

VndDotLucentDotVoice

vnd.lucent.voice

§

VndDotMsPlayreadyDotMediaDotPya

vnd.ms-playready.media.pya

§

VndDotNokiaDotMobileXmf

vnd.nokia.mobile-xmf

§

VndDotNortelDotVbk

vnd.nortel.vbk

§

VndDotNueraDotEcelp4800

vnd.nuera.ecelp4800

§

VndDotNueraDotEcelp7470

vnd.nuera.ecelp7470

§

VndDotNueraDotEcelp9600

vnd.nuera.ecelp9600

§

VndDotOctelDotSbc

vnd.octel.sbc

§

VndDotPresonusDotMultitrack

vnd.presonus.multitrack

§

VndDotQcelpDeprecatedInFavorOfAudioQcelp

vnd.qcelp

§

VndDotRhetorexDot32Kadpcm

vnd.rhetorex.32kadpcm

§

VndDotRip

vnd.rip

§

VndDotSealedmediaDotSoftsealDotMpeg

vnd.sealedmedia.softseal.mpeg

§

VndDotVmxDotCvsd

vnd.vmx.cvsd

§

Vorbis

vorbis

§

VorbisConfig

vorbis-config

§

Private(PrivateSubtype)

private

Implementations§

Source§

impl AudioSubtype

Source

pub fn to_str(&self) -> &str

Trait Implementations§

Source§

impl Clone for AudioSubtype

Source§

fn clone(&self) -> AudioSubtype

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for AudioSubtype

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Eq for AudioSubtype

Source§

impl FromStr for AudioSubtype

Source§

type Err = MediaTypeError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<AudioSubtype, <AudioSubtype as FromStr>::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Ord for AudioSubtype

Source§

fn cmp(&self, other: &AudioSubtype) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 (const: unstable) · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 (const: unstable) · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

fn clamp_to<R>(self, range: R) -> Self
where Self: Sized, R: ClampBounds<Self>,

🔬This is a nightly-only experimental API. (clamp_to)
Restrict a value to a certain range. Read more
Source§

impl PartialEq for AudioSubtype

Source§

fn eq(&self, other: &AudioSubtype) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl PartialOrd for AudioSubtype

Source§

fn partial_cmp(&self, other: &AudioSubtype) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 (const: unstable) · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 (const: unstable) · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 (const: unstable) · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 (const: unstable) · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl StructuralPartialEq for AudioSubtype

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.