Trait frame_support::storage::StorageDecodeLength
source · [−]pub trait StorageDecodeLength: Sealed + DecodeLength {
fn decode_len(key: &[u8]) -> Option<usize> { ... }
}
Expand description
Marker trait that will be implemented for types that support to decode their length in an
effificent way. It is expected that the length is at the beginning of the encoded object
and that the length is a Compact<u32>
.
This trait is sealed.