#[repr(i32)]pub enum RiceError {
Success = 0,
Failed = -1,
ResourceNotFound = -2,
AlreadyInProgress = -3,
}Expand description
Errors when processing an operation.
Variants§
Success = 0
Not an error. The operation was completed successfully.
Failed = -1
The operation failed for an unspecified reason.
ResourceNotFound = -2
A required resource was not found.
AlreadyInProgress = -3
The operation is already in progress.
Trait Implementations§
impl Copy for RiceError
impl Eq for RiceError
impl StructuralPartialEq for RiceError
Auto Trait Implementations§
impl Freeze for RiceError
impl RefUnwindSafe for RiceError
impl Send for RiceError
impl Sync for RiceError
impl Unpin for RiceError
impl UnwindSafe for RiceError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)