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).

Trait Implementations

pub fn abi_encode(self, buffer: Buffer) -> Buffer

pub fn is_encode_trivial() -> bool

pub fn abi_decode(refmut buffer: BufferReader) -> Self

pub fn is_decode_trivial() -> bool

pub fn fmt(
self,
refmut _f: Formatter,
)