referrerpolicy=no-referrer-when-downgrade

Trait frame_support::storage::StorageTryAppend

source ·
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§

Object Safety§

This trait is not object safe.

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>