pub trait StorageTryAppend<Item>: StorageDecodeLength + Sealed {
    // Required method
    fn bound() -> usize;
}
Expand description

Marker trait that is implemented for types that support the storage::append api with a limit on the number of element.

This trait is sealed.

Required Methods§

Implementors§

source§

impl<T, S: Get<u32>> StorageTryAppend<T> for BoundedVec<T, S>

source§

impl<T, S: Get<u32>> StorageTryAppend<T> for WeakBoundedVec<T, S>