Skip to main content

parse_meta

Function parse_meta 

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

Reads meta.json.

§Errors

MotorFinderError::Json when the body is not JSON of this shape; MotorFinderError::Schema for another schema version; MotorFinderError::Field for a generated_at that isn’t an ISO 8601 UTC time.