Enum libxm::XMError [] [src]

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

Possible errors from the XMContext::new method.

Variants

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

The module data is corrupted or invalid

There was an issue allocating additional memory

Trait Implementations

impl Copy for XMError
[src]

impl Clone for XMError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for XMError
[src]

Formats the value using the given formatter.