Modules§
- api
- public api for common neptune-core operations
- application
- bench_
helpers - macros
- prelude
- Re-exports the most commonly-needed APIs of neptune-core.
- protocol
- state
- util_
types
Structs§
- Scope
Duration Logger - for logging how long a scope takes to execute.
Constants§
- COMPOSITION_
FAILED_ EXIT_ CODE - MAGIC_
STRING_ REQUEST - Magic string to ensure other program is Neptune Core
- MAGIC_
STRING_ RESPONSE - SUCCESS_
EXIT_ CODE
Functions§
- initialize
- time_
fn_ call - Time a fn call. Duration is returned as a float in seconds.
- time_
fn_ call_ async - Time an async fn call. Duration is returned as a float in seconds.
- utc_
timestamp_ to_ localtime - Converts a UTC millisecond timestamp (millis since 1970 UTC) into
a
DateTime<Local>, ie local-time.