Enum sequential_storage::Error
source · #[non_exhaustive]
pub enum Error<I, S> {
Item(I),
Storage(S),
FullStorage,
}
Expand description
The main error type
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Item(I)
A storage item error
Storage(S)
An error in the storage (flash)
FullStorage
The item cannot be stored anymore because the storage is full. If you get this error some data may be lost.