Trait pallet_housing_fund::storage::TryAppendValue
pub trait TryAppendValue<T, I>where
T: StorageTryAppend<I>,
I: Encode,{
fn try_append<LikeI>(item: LikeI) -> Result<(), ()>
where
LikeI: EncodeLike<I>;
}
Expand description
Storage value that is capable of StorageTryAppend
.
Required Methods§
fn try_append<LikeI>(item: LikeI) -> Result<(), ()>where
LikeI: EncodeLike<I>,
fn try_append<LikeI>(item: LikeI) -> Result<(), ()>where
LikeI: EncodeLike<I>,
Try and append the item
into the storage item.
This might fail if bounds are not respected.