pub trait TryAppendMap<K: Encode, T: StorageTryAppend<I>, I: Encode> {
// Required method
fn try_append<LikeK: EncodeLike<K> + Clone, LikeI: EncodeLike<I>>(
key: LikeK,
item: LikeI,
) -> Result<(), ()>;
}
Expand description
Storage map that is capable of StorageTryAppend
.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.