pub fn check(dir: &Path) -> Result<()>
Refuses, with TooNew, a brain in a format newer than FORMAT.
TooNew
FORMAT