pub fn fetch_motor<T: Transport>(
client: &Client<T>,
manufacturer: &str,
designation: &str,
now_s: u64,
) -> Result<(MotorPage, Fetched), MotorFinderError>Expand description
Fetches one motor’s page through client, as fetch_meta does: the motor, and when its
page was built. A page for another motor than the one asked for is refused, and never cached.
§Errors
MotorFinderError::Request for a bad manufacturer or designation (Endpoint::motor); as
fetch_meta otherwise. An unknown motor is the site’s “not found” page, which Http
reports as NetError::Transport naming status 404.