[][src]Module binread::error

Error types and internal error handling functions

Enums

Error

An error while parsing a BinRead type

Functions

assert

Assert a condition is true and if not optionally apply a function to generate the error

magic

Read a value then check if it is the expected value

read_options_then_after_parse
try_conversion

Conversion used internally by the try attribute to make parsing failures softer