#[repr(u32)]pub enum RustealErrorCode {
Ok = 0,
ObjectDestroyed = 1,
InvalidCast = 2,
PropertyNotFound = 3,
FunctionNotFound = 4,
TypeMismatch = 5,
NullArgument = 6,
IndexOutOfRange = 7,
InvalidOperation = 8,
InternalError = 9,
BufferTooSmall = 10,
}Variants§
Ok = 0
ObjectDestroyed = 1
InvalidCast = 2
PropertyNotFound = 3
FunctionNotFound = 4
TypeMismatch = 5
NullArgument = 6
IndexOutOfRange = 7
InvalidOperation = 8
InternalError = 9
BufferTooSmall = 10
Trait Implementations§
Source§impl Clone for RustealErrorCode
impl Clone for RustealErrorCode
Source§fn clone(&self) -> RustealErrorCode
fn clone(&self) -> RustealErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RustealErrorCode
Source§impl Debug for RustealErrorCode
impl Debug for RustealErrorCode
impl Eq for RustealErrorCode
Source§impl From<RustealErrorCode> for RustealError
impl From<RustealErrorCode> for RustealError
Source§fn from(code: RustealErrorCode) -> Self
fn from(code: RustealErrorCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RustealErrorCode
impl PartialEq for RustealErrorCode
impl StructuralPartialEq for RustealErrorCode
Auto Trait Implementations§
impl Freeze for RustealErrorCode
impl RefUnwindSafe for RustealErrorCode
impl Send for RustealErrorCode
impl Sync for RustealErrorCode
impl Unpin for RustealErrorCode
impl UnsafeUnpin for RustealErrorCode
impl UnwindSafe for RustealErrorCode
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