Crate precept

Source

Modules§

catalog
dispatch
macros
random

Macros§

emit_event
expect_always
expect_always_or_unreachable
expect_reachable
expect_sometimes
expect_unreachable
function_name
maybe_fault
emit a fault with a probability p to the dispatcher p should be in the range [0.0, 1.0] fault is a block that will be executed when the fault triggers
setup_complete

Constants§

ENABLED
If ENABLED is false, all precept macros and faults are disabled

Functions§

disable_faults
enable_faults
faults_enabled
init
init_boxed