Docs.rs
simulator-api-0.21.0
simulator-api 0.21.0
Docs.rs crate page
MIT
29 August 2026
Links
Repository
crates.io
Source
Owners
Yiwen-Gao
github:nitro-svm:eng-all
Dependencies
base64 ^0.22.1
normal
bon ^3.7.2
normal
chrono ^0.4.41
normal
parking_lot ^0.12.3
normal
serde ^1.0.219
normal
serde_json ^1.0.143
normal
serde_with ^3.0
normal
solana-account ^4.3.0
normal
solana-address ^2.6.0
normal
spl-token-2022-interface ^2.1.0
normal
spl-token-interface ^2.0.0
normal
thiserror ^2.0.16
normal
uuid ^1.18.1
normal
zstd ^0.13
normal
rstest ^0.26.1
dev
Versions
51.25%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module usage
simulator_
api
0.21.0
Module usage
Module Items
Structs
Constants
In crate simulator_
api
simulator_api
Module
usage
Copy item path
Source
Structs
§
Bundle
Build
Usage
Bundle-build usage for the window.
Compute
Totals
A session contributes wholly to the window — or
UsageBucket
— its run ended in, even when it ran across the boundary.
Session
Counts
Point counts by outcome, not session-deduplicated, so the three need not balance: a pre-start failure has no
started
, a cross-manager handoff re-emits it. Billing uses the compute totals, which derive only from the terminal points.
Session
Usage
One session that ran under the key, as its terminal event reported it.
Session
Usage
Page
Response body of
GET /usage/sessions
.
Usage
Bucket
One UTC day of a
UsageReport
, covering
(start, end]
.
end
is the following midnight, except for a last bucket that ends at the report’s
until
.
Usage
Report
Response body of
GET /usage
.
Constants
§
BUCKET_
SPAN
What one whole
UsageBucket
spans.