Skip to main content

compare

Function compare 

pub fn compare(
    pair: &str,
    left: &Side,
    right: &Side,
    mode: Compare,
) -> Result<(), Error>
Expand description

Compares two blocks, failing on the first differing key.

§Errors

Error::Parity naming the pair, that key, and both values — with their bits whenever the field is float-valued.