Module rkyv::validation [−][src]
Expand description
Validation implementations and helper types.
Structs
| ArchiveBoundsValidator | A validator that can bounds check pointers in an archive. |
| ArchiveValidator | An adapter that adds memory validation to a context. |
| Interval | A range of bytes in an archive. |
| SharedArchiveValidator | An adapter that adds shared memory validation. |
Enums
| ArchiveBoundsError | Errors that can occur when checking a relative pointer |
| ArchiveMemoryError | Errors that can occur related to archive memory. |
| CheckArchiveError | Errors that can occur when checking an archive. |
| SharedArchiveError | Errors that can occur when checking shared memory. |
Traits
| ArchiveBoundsContext | A context that can check relative pointers. |
| ArchiveMemoryContext | A context that can validate archive memory. |
| LayoutMetadata | Gets the layout of a type from its metadata. |
| SharedArchiveContext | A context that can validate shared archive memory. |
Functions
| check_archived_root | Checks the given archive at the given position for an archived version of the given type. |
| check_archived_root_with_context | Checks the given archive with an additional context. |
| check_archived_value | Checks the given archive at the given position for an archived version of the given type. |
| check_archived_value_with_context | Checks the given archive with an additional context. |
Type Definitions
| CheckTypeError | The error type that can be produced by checking the given type with the given validator. |
| DefaultArchiveValidator | A validator that supports all builtin types. |