Function spectrusty_formats::ay::read_ay
source · Expand description
Reads data from rd
parses data and returns a pinned AyFile owning data on success.
Errors
When there was a parse error returns Err
with AyParseError wrapped in io::Error
with io::ErrorKind::InvalidData. To get to the inner AyParseError you need either
to downcast it yourself or use one of the convenient IoErrorExt methods.