Enum ao::AoError [] [src]

pub enum AoError {
    NoDriver,
    NotFile,
    NotLive,
    BadOption,
    OpenDevice,
    OpenFile,
    FileExists,
    BadFormat,
    Unknown,
}

Result of (most) operations that may fail.

Variants

No driver is available.

This means either: * There is no driver matching the requested name * There are no usable audio output devices

The specified driver does not do file output.

The specified driver does not do live output.

A known driver option has an invalid value.

Could not open the output device.

For example, if /dev/dsp could not be opened with the OSS driver.

Could not open the output file.

The specified file already exists.

The requested stream format is not supported.

This is usually the result of an invalid channel matrix.

Unspecified error.

Trait Implementations

impl PartialEq for AoError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for AoError
[src]

impl Debug for AoError
[src]

Formats the value using the given formatter.

impl Clone for AoError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Error for AoError
[src]

A short description of the error. Read more

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

impl Display for AoError
[src]

Formats the value using the given formatter. Read more