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 more