pub enum NativeError {
NoError = 0,
MustPossessCapability = 99,
NullPointer = 100,
OutOfMemory = 110,
NotEnabled = 111,
NotAvailable = 112,
UnexpectedInternalError = 113,
ThreadNotAttached = 115,
Disconnected = 116,
NotImplemented = 999_999,
UnknownError = 1000000,
}Expand description
A type-safe representation of possible errors
Variants§
NoError = 0
MustPossessCapability = 99
NullPointer = 100
OutOfMemory = 110
NotEnabled = 111
NotAvailable = 112
UnexpectedInternalError = 113
ThreadNotAttached = 115
Disconnected = 116
NotImplemented = 999_999
UnknownError = 1000000
Auto Trait Implementations§
impl Freeze for NativeError
impl RefUnwindSafe for NativeError
impl Send for NativeError
impl Sync for NativeError
impl Unpin for NativeError
impl UnwindSafe for NativeError
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