Skip to main content

parse_in_stock

Function parse_in_stock 

Source
pub fn parse_in_stock(body: &[u8]) -> Result<MotorList, MotorFinderError>
Expand description

Reads in-stock.json: as parse_motors, and every motor must be in stock.

ยงErrors

As parse_motors, and MotorFinderError::Field naming a motor out of stock.