Expand description
Sealed traits.
Traits
- Not every type should be directly placed in vec. Vec encoding is not memory efficient, as every item will be padded to 32 bytes. Instead you should use specialized types (
bytes
in case ofVec<u8>
)
Sealed traits.
bytes
in case of Vec<u8>
)