[][src]Trait frame_support::storage::StorageAppend

pub trait StorageAppend<Item: Encode>: Sealed { }

Marker trait that will be implemented for types that support the storage::append api.

This trait is sealed.

Implementations on Foreign Types

impl<Hash: Encode> StorageAppend<DigestItem<Hash>> for Digest<Hash>[src]

We abuse the fact that SCALE does not put any marker into the encoding, i.e. we only encode the internal vec and we can append to this vec. We have a test that ensures that if the Digest format ever changes, we need to remove this here.

Loading content...

Implementors

impl<T: Encode> StorageAppend<T> for Vec<T>[src]

Loading content...