Skip to main content

update

Function update 

Source
pub fn update<T: Transport>(
    client: &Client<T>,
    bundle: &Bundle,
    now_s: u64,
) -> Result<Update, ThrustCurveError>
Expand description

Compares ThrustCurve’s solid catalog with bundle, as the module describes, and returns what it lists that the bundle lacks.

§Errors

Any error of thrustcurve::fetch_whole_search, which refuses a search that returns fewer motors than match and never caches it, or of thrustcurve::fetch_download; offline, crate::NetError::NotCached for an answer not in the cache.