Crate gear_utils

Source
Expand description

Useful utilities needed for testing and other stuff.

Modules§

codegen
Useful things for generating code.

Structs§

MemoryPageDump
Stores one memory page dump as the hex string.
NonEmpty
Non-empty vector.
ProgramMemoryDump
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 from UNIX_EPOCH until now.
now_micros
Returns time elapsed since UNIX_EPOCH in microseconds.
now_millis
Returns time elapsed since UNIX_EPOCH in milliseconds.