Expand description
Common utilities and shared types used across the system
This module contains types and functions that are used by multiple components of the HFT system.
Enums§
- LogLevel
- System-wide log levels
Functions§
- current_
time_ ns - Get current time in nanoseconds using high-precision quanta clock
- is_
stale - Check if a timestamp is older than specified duration using high-precision clock
- milliseconds_
to_ nanoseconds - Convert milliseconds to nanoseconds
- nanoseconds_
to_ milliseconds - Convert nanoseconds to milliseconds
Type Aliases§
- Result
- Result type for errors with context