Enum openal::Error [] [src]

pub enum Error {
    None,
    InvalidDevice,
    InvalidContext,
    InvalidName,
    InvalidOperation,
    InvalidEnum,
    InvalidValue,
    OutOfMemory,
}

OpenAL error type.

Variants

There is no current error.

The device handle or specifier names an inaccessible driver/server.

The Context argument does not name a valid context.

Invalid name parameter.

Illegal call.

Invalid parameter.

Invalid enum parameter value.

Unable to allocate memory.

Methods

impl Error
[src]

Check if there was an error on the last operation.

Check if there was an error on the last operation of the given device.

Trait Implementations

impl Copy for Error
[src]

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<AL> for Error
[src]

Performs the conversion.

impl From<ALC> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

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