Module constants

Module constants 

Source
Expand description

This module contains types and functions for working with constants.

Structs§

ConstantInfo
Information about a Constant.

Enums§

ConstantDecodeError
An error returned trying to decode a constant.
ConstantInfoError
An error returned trying to access Constant information.
Entry
This represents either an entry name, or the name of the thing that the entry is in (for instance the name of a pallet or of a Runtime API trait).

Traits§

ConstantTypeInfo
This can be implemented for anything capable of providing Constant information.

Functions§

decode_constant
Decode a constant from the provided information.
decode_constant_with_info
Decode a constant given the ConstantInfo and a resolver to resolve the constant type.