Serde that handles deserialization failures by returning a Task
Serde that handles deserialization failures by returning a Task
This is useful for explicitly handling deserialization failures.
Create a serializer for a type U based on the serializer for type T and a mapping function
Create a serializer for a type U based on the serializer for type T and a mapping function
Create a serializer for a type U based on the serializer for type T and an effectful mapping function
Create a serializer for a type U based on the serializer for type T and an effectful mapping function
Converts to a Serde of type U with pure transformations
Convert to a Serde of type U with effectful transformations
Create a deserializer for a type U based on the deserializer for type T and a mapping function
Create a deserializer for a type U based on the deserializer for type T and a mapping function
Create a deserializer for a type U based on the deserializer for type T and an effectful mapping function
Create a deserializer for a type U based on the deserializer for type T and an effectful mapping function
When this serializer fails, attempt to deserialize with the alternative
When this serializer fails, attempt to deserialize with the alternative
If both deserializers fail, the error will be the last deserializer's exception.
A serializer and deserializer for values of type T
Environment available to the deserializer
Value type