pub enum XMError {
Unknown(c_int),
ModuleDataNotSane,
MemoryAllocationFailed,
}
Expand description
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§
Auto Trait Implementations§
impl Freeze for XMError
impl RefUnwindSafe for XMError
impl Send for XMError
impl Sync for XMError
impl Unpin for XMError
impl UnwindSafe for XMError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more