Skip to main content

DecoderError

Struct DecoderError 

Source
pub struct DecoderError(/* private fields */);

Implementations§

Source§

impl DecoderError

Source

pub const OUT_OF_MEMORY: DecoderError

Source

pub const UNKNOWN: DecoderError

Source

pub const TRANSPORT_SYNC_ERROR: DecoderError

Source

pub const NOT_ENOUGH_BITS: DecoderError

Source

pub const INVALID_HANDLE: DecoderError

Source

pub const UNSUPPORTED_AOT: DecoderError

Source

pub const UNSUPPORTED_FORMAT: DecoderError

Source

pub const UNSUPPORTED_ER_FORMAT: DecoderError

Source

pub const UNSUPPORTED_EPCONFIG: DecoderError

Source

pub const UNSUPPORTED_MULTILAYER: DecoderError

Source

pub const UNSUPPORTED_CHANNELCONFIG: DecoderError

Source

pub const UNSUPPORTED_SAMPLINGRATE: DecoderError

Source

pub const INVALID_SBR_CONFIG: DecoderError

Source

pub const SET_PARAM_FAIL: DecoderError

Source

pub const NEED_TO_RESTART: DecoderError

Source

pub const OUTPUT_BUFFER_TOO_SMALL: DecoderError

Source

pub const TRANSPORT_ERROR: DecoderError

Source

pub const PARSE_ERROR: DecoderError

Source

pub const UNSUPPORTED_EXTENSION_PAYLOAD: DecoderError

Source

pub const DECODE_FRAME_ERROR: DecoderError

Source

pub const CRC_ERROR: DecoderError

Source

pub const INVALID_CODE_BOOK: DecoderError

Source

pub const UNSUPPORTED_PREDICTION: DecoderError

Source

pub const UNSUPPORTED_CCE: DecoderError

Source

pub const UNSUPPORTED_LFE: DecoderError

Source

pub const UNSUPPORTED_GAIN_CONTROL_DATA: DecoderError

Source

pub const UNSUPPORTED_SBA: DecoderError

Source

pub const TNS_READ_ERROR: DecoderError

Source

pub const RVLC_ERROR: DecoderError

Source

pub const ANC_DATA_ERROR: DecoderError

Source

pub const TOO_SMALL_ANC_BUFFER: DecoderError

Source

pub const TOO_MANY_ANC_ELEMENTS: DecoderError

Source

pub fn message(&self) -> &'static str

Trait Implementations§

Source§

impl Clone for DecoderError

Source§

fn clone(&self) -> DecoderError

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 Copy for DecoderError

Source§

impl Debug for DecoderError

Source§

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

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

impl Display for DecoderError

Source§

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

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

impl Eq for DecoderError

Source§

impl PartialEq for DecoderError

Source§

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

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

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for DecoderError

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.