[−][src]Enum alto::AltoError
An error as reported by alcGetError
or alGetError
, plus some Alto specific variants.
Variants
InvalidDevice
ALC_INVALID_DEVICE
InvalidContext
ALC_INVALID_CONTEXT
InvalidName
AL_INVALID_NAME
InvalidEnum
ALC/AL_INVALID_ENUM
InvalidValue
ALC/AL_INVALID_VALUE
InvalidOperation
AL_INVALID_OPERATION
OutOfMemory
ALC/AL_OUT_OF_MEMORY
UnknownAlcError(ALCint)
UnknownAlError(ALint)
UnsupportedVersion
The underlying implementation is not compatible with the 1.1 spec. Alto specific.
Fields of UnsupportedVersion
ExtensionNotPresent
The requested action can't be performed because the required extension is unavaiable. Alto specific.
NullError
Resource creation failed without setting an error code.
WrongDevice
A resource belongs to another device and is not eligible.
WrongContext
A resource belongs to another context and is not eligible.
Io(Error)
There was an underlying IO error, usually from a failure when loading the OpenAL dylib. Alto specific.
Trait Implementations
impl From<Error> for AltoError
[src]
impl Debug for AltoError
[src]
impl Display for AltoError
[src]
impl Error for AltoError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
replaced by Error::source, which can support downcasting
The lower-level cause of this error, if any. Read more
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
The lower-level source of this error, if any. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,