Enum wasefire_applet_api::store::Error
source · #[repr(u32)]
pub enum Error {
InvalidArgument,
NoCapacity,
NoLifetime,
StorageError,
InvalidStorage,
}Expand description
Describes errors interacting with the store.
Variants§
InvalidArgument
A function pre-condition was broken.
NoCapacity
The store is full.
NoLifetime
The store reached its end of life.
StorageError
An operation to the underlying storage failed.
InvalidStorage
The underlying storage doesn’t match the store invariant.
Implementations§
Trait Implementations§
source§impl Ord for Error
impl Ord for Error
source§impl PartialEq<Error> for Error
impl PartialEq<Error> for Error
source§impl PartialOrd<Error> for Error
impl PartialOrd<Error> for Error
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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