Skip to main content

SecondaryStorageError

Type Alias SecondaryStorageError 

Source
pub type SecondaryStorageError<T, C> = <<C as SecondaryMapConfig<SecondaryMapSlot<T, C>>>::Storage as SlotStorage>::Error;
Expand description

The error the storage of a SecondaryMap<T, C> gives when it cannot make room for a slot. It is TryReserveError for a Vec, CapacityError for an ArrayVec and CollectionAllocErr for a SmallVec.