#[repr(C)]pub enum ResultCode {
Show 21 variants
OK = 0,
Error = 1,
InvalidArgs = 2,
Unknown = 3,
OoM = 4,
Corrupt = 5,
NotFound = 6,
AlreadyExists = 7,
PermissionDenied = 8,
Aborted = 9,
OutOfRange = 10,
Unimplemented = 11,
Internal = 12,
Unavailable = 13,
CustomError = 14,
EOF = 15,
ReadOnly = 16,
RowID = 17,
Row = 18,
Interrupt = 19,
Busy = 20,
}Expand description
Error type is of type ExtError which can be either a user defined error or an error code
Variants§
OK = 0
Error = 1
InvalidArgs = 2
Unknown = 3
OoM = 4
Corrupt = 5
NotFound = 6
AlreadyExists = 7
PermissionDenied = 8
Aborted = 9
OutOfRange = 10
Unimplemented = 11
Internal = 12
CustomError = 14
EOF = 15
ReadOnly = 16
RowID = 17
Row = 18
Interrupt = 19
Busy = 20
Implementations§
Trait Implementations§
Source§impl Clone for ResultCode
impl Clone for ResultCode
Source§fn clone(&self) -> ResultCode
fn clone(&self) -> ResultCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResultCode
impl Debug for ResultCode
Source§impl Display for ResultCode
impl Display for ResultCode
Source§impl From<ResultCode> for StepResult
impl From<ResultCode> for StepResult
Source§fn from(code: ResultCode) -> Self
fn from(code: ResultCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResultCode
impl PartialEq for ResultCode
impl Copy for ResultCode
impl Eq for ResultCode
impl StructuralPartialEq for ResultCode
Auto Trait Implementations§
impl Freeze for ResultCode
impl RefUnwindSafe for ResultCode
impl Send for ResultCode
impl Sync for ResultCode
impl Unpin for ResultCode
impl UnwindSafe for ResultCode
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