Enum coreaudio::error::Error
[−]
[src]
pub enum Error { Unspecified, SystemSoundClientMessageTimedOut, NoMatchingDefaultAudioUnitFound, RenderCallbackBufferFormatDoesNotMatchAudioUnitStreamFormat, NoKnownSubtype, Audio(AudioError), AudioCodec(AudioCodecError), AudioFormat(AudioFormatError), AudioUnit(AudioUnitError), Unknown(OSStatus), }
A wrapper around all possible Core Audio errors.
Variants
Unspecified
SystemSoundClientMessageTimedOut
NoMatchingDefaultAudioUnitFound
RenderCallbackBufferFormatDoesNotMatchAudioUnitStreamFormat
NoKnownSubtype
Audio(AudioError)
AudioCodec(AudioCodecError)
AudioFormat(AudioFormatError)
AudioUnit(AudioUnitError)
Unknown(OSStatus)
Methods
impl Error
[src]
fn from_os_status(os_status: OSStatus) -> Result<(), Error>
Convert an OSStatus to a std Rust Result.
fn to_os_status(&self) -> OSStatus
Convert an Error to an OSStatus.
Trait Implementations
impl Debug for Error
[src]
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