This crate contains definitions of newtypes corresponding to measurement units, including several that are passed across node boundaries in Messages.
Logs an error message if the passed in
resultis an error.
Logs an error message if the provided
condevaluates to false. Also passes the same expression and message into
debug_assert!, which will panic if debug assertions are enabled.