pub fn parse_motors(body: &[u8]) -> Result<MotorList, MotorFinderError>Expand description
Reads motors.json.
§Errors
As parse_meta; MotorFinderError::Count when count disagrees with the list; and
MotorFinderError::Field for a motor or listing that breaks the API’s rules: an impulse
class that isn’t one capital letter, a diameter, impulse, thrust or burn time below zero (or a
diameter of zero), a listing_count other than its listings’, a cheapest offer on a motor out
of stock or none on one in stock, a pack of no motors, or a unit price over its sticker price.