Expand description
Deserialization
Re-exports§
pub use std::error::Error as StdError;
Enums§
- Read
Enum Size - Size to read to deserialize
enumandflags. This is used to deserialize binary data - Unexpected
Unexpectedrepresents an unexpected invocation of any one of theVisitortrait 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 DeserializeSeedis the stateful form of theDeserializetrait. If you ever find yourself looking for a way to pass data into aDeserializeimpl, this trait is the way to do it.- Deserializer
- Deserializer
- Enum
Access - Provides a
Visitoraccess to the data of an enum in the input. - Error
- The
Errortrait allowsDeserializeimplementations to create descriptive error messages belonging to theDeserializeragainst which they are currently running. - Expected
Expectedrepresents an explanation of what data aVisitorwas expecting to receive.- MapAccess
- Provides a
Visitoraccess to each entry of a map in the input. - SeqAccess
- Provides a
Visitoraccess to each element of a sequence in the input. - Variant
Access VariantAccessis a visitor that is created by theDeserializerand passed to theDeserializeto deserialize the content of a particular enum variant.- Visitor
- This trait represents a visitor that walks through a deserializer.