Skip to main content

classify

Function classify 

Source
pub fn classify(status: u16, body: &[u8]) -> DelayAnswer
Expand description

Classifies the engine’s answer to one delay request.

A 200 answer carries the measurement; every other answer of the engine carries its own typed error body. An answer the engine’s delay endpoint does not produce is never read as a measurement, a timeout or a refusal.