Enum coreaudio::error::audio_unit::Error [] [src]

pub enum Error {
    InvalidProperty,
    InvalidParameter,
    InvalidElement,
    NoConnection,
    FailedInitialization,
    TooManyFramesToProcess,
    InvalidFile,
    FormatNotSupported,
    Uninitialized,
    InvalidScope,
    PropertyNotWritable,
    CannotDoInCurrentContext,
    InvalidPropertyValue,
    PropertyNotInUse,
    Initialized,
    InvalidOfflineRender,
    Unauthorized,
    Unknown,
}

Variants

InvalidPropertyInvalidParameterInvalidElementNoConnectionFailedInitializationTooManyFramesToProcessInvalidFileFormatNotSupportedUninitializedInvalidScopePropertyNotWritableCannotDoInCurrentContextInvalidPropertyValuePropertyNotInUseInitializedInvalidOfflineRenderUnauthorizedUnknown

Methods

impl Error
[src]

fn from_os_status(os_status: OSStatus) -> Result<()Error>

fn to_os_status(&self) -> OSStatus

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Error
[src]

fn clone(&self) -> Error

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl Display for Error
[src]

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

Formats the value using the given formatter.

impl Error for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more