pub trait FloatStorageValue: 'static + Clone + Send + Sync {
type Value: FixedPointNumber;
// Required method
fn decode(
&self,
maybe_raw_value: Option<StorageData>,
) -> Result<Option<Self::Value>, SubstrateError>;
}
Expand description
Fied-point storage value and the way it is decoded from the raw storage value.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.