Skip to main content

fetch_finder_records

Function fetch_finder_records 

Source
pub fn fetch_finder_records<T: Transport>(
    client: &Client<T>,
    now_s: u64,
) -> Result<(Vec<MotorRecord>, Vec<Fetched>), ThrustCurveError>
Expand description

Fetches every record of the makers the motor finder reads (MANUFACTURERS), one complete search each, as fetch_search does: the records join needs. A search that matches more motors than it returns, or holds another maker’s record, is refused and never cached, so a join never runs on part of a maker’s records.

§Errors

As fetch_search; with NetError::Refused naming ThrustCurveError::Incomplete for a search cut short, or ThrustCurveError::OtherManufacturer for another maker’s record.