#[repr(u32)]pub enum ErrorCode {
UNKNOWN = 4_096,
NULL_POINTER = 4_097,
INVALID_UTF8 = 4_098,
VALUE_NOT_FOUND = 4_112,
INVALID_COMPARTMENT = 4_113,
NOT_IMPLEMENTED = 4_114,
UNKNOWN_BACKEND = 4_128,
INVALID_PATH = 4_145,
IO = 4_146,
IDENTITY_SIGNATURE_INVALID = 4_144,
WRAPPED = 4_352,
}Expand description
Numeric result codes returned through the FFI. The encoding starts at
0x1000 to leave room for the Engine’s error namespace (whose codes
begin at 1) — the Store is a separate crate and must not collide.
Variants§
UNKNOWN = 4_096
NULL_POINTER = 4_097
INVALID_UTF8 = 4_098
VALUE_NOT_FOUND = 4_112
INVALID_COMPARTMENT = 4_113
NOT_IMPLEMENTED = 4_114
UNKNOWN_BACKEND = 4_128
INVALID_PATH = 4_145
IO = 4_146
IDENTITY_SIGNATURE_INVALID = 4_144
WRAPPED = 4_352
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
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