Docs.rs
rtime-core-0.14.0
rtime-core 0.14.0
Permalink
Docs.rs crate page
MIT
01 July 2026
Links
Homepage
Repository
crates.io
Source
Owners
mack42
Dependencies
serde ^1
normal
thiserror ^2
normal
tracing ^0.1
normal
Versions
57.14%
of the crate is documented
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 timestamp
rtime_
core
0.14.0
Module timestamp
Module Items
Structs
In crate rtime_
core
rtime_core
Module
timestamp
Copy item path
Source
Structs
ยง
NtpDuration
High-resolution signed duration for offset/delay calculations. Stored as signed nanoseconds in i128 for sub-nanosecond precision with the lower 32 bits representing fractional nanoseconds.
NtpTimestamp
NTP uses a 64-bit timestamp: 32-bit seconds since 1900-01-01 + 32-bit fraction. Stored as a single u64 for arithmetic efficiency. Upper 32 bits = seconds, lower 32 bits = fractional seconds.
PtpTimestamp
PTP uses an 80-bit timestamp: 48-bit seconds + 32-bit nanoseconds.