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.

Traits§

ConstantEntryInfo
This can be implemented for anything capable of providing information about the available Constants
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.

Type Aliases§

ConstantEntry
An entry denoting a pallet or a constant name.