pub fn check<F, M>(pred: F, message: M) -> Result<()>Expand description
Verifies than an arbitrary condition is met, intended to verify preservation of an invariant at runtime.
Think of this as a requires designed to be used anywhere in control flow.