Attributes
Members list
Type members
Classlikes
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
- Self type
-
given_Decoder_Double.type
Attributes
- Supertypes
- Self type
-
given_Decoder_Int.type
Attributes
- Supertypes
- Self type
-
given_Decoder_Long.type
Attributes
- Supertypes
- Self type
-
given_Decoder_Policy.type
Attributes
- Supertypes
- Self type
-
given_Decoder_Reward.type
Attributes
- Supertypes
- Self type
-
given_Decoder_String.type
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
- Self type
-
given_Decoder_UUID.type
Value members
Concrete methods
Retrieves a value from a map using the specified field name and decodes it using the provided decoder. If the field is not present in the map, it returns a ConfigError indicating the missing field.
Retrieves a value from a map using the specified field name and decodes it using the provided decoder. If the field is not present in the map, it returns a ConfigError indicating the missing field.
Type parameters
- A
-
the type of value to decode
Value parameters
- decoder
-
the decoder to use for decoding the value
- field
-
the name of the field to retrieve
- map
-
the map containing configuration values
Attributes
- Returns
-
a
ConfigResultcontaining either the decoded value or a sequence of configuration errors
Retrieves an optional value from a map using the specified field name and decodes it using the provided decoder. If the field is not present in the map, it returns None.
Retrieves an optional value from a map using the specified field name and decodes it using the provided decoder. If the field is not present in the map, it returns None.
Type parameters
- A
-
the type of value to decode
Value parameters
- decoder
-
decoder to use for decoding the value
- field
-
the name of the field to retrieve
- map
-
the map containing configuration values
Attributes
- Returns
-
a
ConfigResultcontaining either the decoded value wrapped inSome, orNoneif the field is not present