Enum alto::AltoError[][src]

pub enum AltoError {
    InvalidDevice,
    InvalidContext,
    InvalidName,
    InvalidEnum,
    InvalidValue,
    InvalidOperation,
    OutOfMemory,
    UnknownAlcError(ALCint),
    UnknownAlError(ALint),
    UnsupportedVersion {
        major: ALCint,
        minor: ALCint,
    },
    ExtensionNotPresent,
    NullError,
    WrongDevice,
    WrongContext,
    Io(Error),
}

An error as reported by alcGetError or alGetError, plus some Alto specific variants.

Variants

ALC_INVALID_DEVICE

ALC_INVALID_CONTEXT

AL_INVALID_NAME

ALC/AL_INVALID_ENUM

ALC/AL_INVALID_VALUE

AL_INVALID_OPERATION

ALC/AL_OUT_OF_MEMORY

The underlying implementation is not compatible with the 1.1 spec. Alto specific.

Fields of UnsupportedVersion

The requested action can't be performed because the required extension is unavaiable. Alto specific.

Resource creation failed without setting an error code.

A resource belongs to another device and is not eligible.

A resource belongs to another context and is not eligible.

There was an underlying IO error, usually from a failure when loading the OpenAL dylib. Alto specific.

Trait Implementations

impl Debug for AltoError
[src]

Formats the value using the given formatter. Read more

impl Display for AltoError
[src]

Formats the value using the given formatter. Read more

impl StdError for AltoError
[src]

This method is soft-deprecated. Read more

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

impl From<Error> for AltoError
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for AltoError

impl Sync for AltoError