encode To Toml Element
Serializes value into TomlElement using the serializer retrieved from reified type parameter.
Throws
Toml Encoding Exception
if value cannot be serialized.
Serializes value into TomlElement using the serializer retrieved from reified type parameter.
if value cannot be serialized.