Expand description
Deserialize errors and helpers.
Requires the serde or rkyv feature.
Errors returned when Input fails to deserialize.
Enabled by the serde or rkyv Cargo feature. Serde maps these to custom
deserializer errors; rkyv uses [DeserializeError::InvalidArchive].
Enums§
- Deserialize
Error - Failure while decoding external data into [
Input].
Constants§
- EXPECTED_
INPUT_ TYPES - Allowed top-level [
Input] kinds, used in type-mismatch messages.
Functions§
- i128_
to_ isize - Convert a deserialized integer to
isize, if it fits (serdefeature). - invalid_
type - Build a type-mismatch error with
EXPECTED_INPUT_TYPES(serdefeature).
Type Aliases§
- Input
Serialize Error - [
Input] serialization is infallible for supported serializers/archives.