[][src]Enum libxm_soundboard::XMError

pub enum XMError {
    Unknown(c_int),
    ModuleDataNotSane,
    MemoryAllocationFailed,
}

Possible errors from the XMContext::new method.

Variants

Unknown(c_int)

An unknown error reported by libxm. This enum exists in order to gracefully handle future errors from newer versions of libxm.

ModuleDataNotSane

The module data is corrupted or invalid

MemoryAllocationFailed

There was an issue allocating additional memory

Trait Implementations

impl Clone for XMError[src]

impl Copy for XMError[src]

impl Debug for XMError[src]

Auto Trait Implementations

impl RefUnwindSafe for XMError

impl Send for XMError

impl Sync for XMError

impl Unpin for XMError

impl UnwindSafe for XMError

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.