Expand description
Deserialization
Re-exports§
pub use std::error::Error as StdError;
Enums§
- Read
Enum Size - Size to read to deserialize
enum
andflags
. This is used to deserialize binary data - Unexpected
Unexpected
represents an unexpected invocation of any one of theVisitor
trait methods.
Traits§
- Class
Index Access - Class Indexed Deserializer trait
- Deserialize
- A data structure that can be deserialized from any data format supported by Serde.
- Deserialize
Owned - A data structure that can be deserialized without borrowing any data from the deserializer.
- Deserialize
Seed DeserializeSeed
is the stateful form of theDeserialize
trait. If you ever find yourself looking for a way to pass data into aDeserialize
impl, this trait is the way to do it.- Deserializer
- Deserializer
- Enum
Access - Provides a
Visitor
access to the data of an enum in the input. - Error
- The
Error
trait allowsDeserialize
implementations to create descriptive error messages belonging to theDeserializer
against which they are currently running. - Expected
Expected
represents an explanation of what data aVisitor
was expecting to receive.- MapAccess
- Provides a
Visitor
access to each entry of a map in the input. - SeqAccess
- Provides a
Visitor
access to each element of a sequence in the input. - Variant
Access VariantAccess
is a visitor that is created by theDeserializer
and passed to theDeserialize
to deserialize the content of a particular enum variant.- Visitor
- This trait represents a visitor that walks through a deserializer.