Enum std::storage::storage_vec::StorageVecError
pub enum StorageVecError {
/// Index was out of bounds.
#[error(m = "Index was out of bounds.")]
IndexOutOfBounds: OutOfBounds,
/// Called `StorageVec<T>` method does not support `T` being a nested storage type (a zero-sized type in general).
#[error(m = "Called `StorageVec<T>` method does not support `T` being a nested storage type (a zero-sized type in general).")]
MethodDoesNotSupportNestedStorageTypes: (),
}Expand description
The error type used by StorageVec<T> methods.
Variants
IndexOutOfBounds: OutOfBounds
Index was out of bounds.
MethodDoesNotSupportNestedStorageTypes: ()
Called StorageVec<T> method does not support T being a nested storage type (a zero-sized type in general).