Enum libxm::XMError [] [src]

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

Possible errors from the XMContext::new method.

Variants

Unknown

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

Derived Implementations

impl Debug for XMError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for XMError

fn clone(&self) -> XMError

fn clone_from(&mut self, source: &Self)

impl Copy for XMError