Crate demikernel

source ·

Re-exports§

Modules§

Macros§

  • Collects the result of a test and appends it to a vector.
  • Dumps results of tests.
  • Ensures that two expressions are equivalent or return an Error.
  • Ensure that two expressions are not equal or returns an Error.
  • Runs a test and prints if it passed or failed on the standard output.
  • Use this macro to add the current scope to profiling. In effect, the time taken from entering to leaving the scope will be measured.
  • Updates the error variable err_var with anyhow::anyhow!(msg) if err_var is Ok. Otherwise it prints msg on the standard output.