Expand description
Useful utilities needed for testing and other stuff.
Modules§
- codegen
- Useful things for generating code.
Structs§
- Memory
Page Dump - Stores one memory page dump as the hex string.
- NonEmpty
- Non-empty vector.
- Program
Memory Dump - Stores all program’s page dumps and it’s balance.
Traits§
- RingGet
- Trait describes a collection which can get a value by it’s index. The index can be in any range, even [length(implementor), ..).
Functions§
- init_
default_ logger - Initialize a simple logger from env.
- now_
duration - Returns
Duration
fromUNIX_EPOCH
until now. - now_
micros - Returns time elapsed since
UNIX_EPOCH
in microseconds. - now_
millis - Returns time elapsed since
UNIX_EPOCH
in milliseconds.