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

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

This trait is sealed.

Implementations on Foreign Types§

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.

Implementors§