Expand description
Low-level Orbit primitives.
Modules§
- epoch
- Tick and epoch helpers for Orbit frame versions.
- error
- Error type for
orbit-core. Deliberately small — this layer has few independent failure modes. - fleet
Fleet— the per-process handle for one node address in a fleet’s shared physical geometry.- id
- Re-export of the standalone
netid64primitive. - readiness
- A descriptor pair for turning a shared-memory change into fd readiness.
- ring
- Ring buffers — orbit-core’s runtime substrate.
- ring_
shm - Compatibility module for the pre-
ring::shmlayout. - shm
- POSIX shared-memory helpers — V1 substrate for cross-process rings.
- sync
- Waiting on a shared 32-bit word, the primitive under every “wake me when this changes” in Orbit: ring readiness, cell changes.
Structs§
- Fleet
- Per-process handle into the fleet. Cheap to clone — the inner
state is
Arc-shared. - Fleet
Name - Same-host fleet namespace, distinct from a process or application name.
- Fleet
Observer - Read-only namespace handle for inspecting an existing SHM fleet.
- Frame
- One record in a ring — the on-wire shape (mirrors
nwd1::Frame). - Invalid
Fleet Name - NetId64
- Runtime-bound 64-bit identifier with
[KIND:8][NODE:16][COUNTER:40]layout. - NodeId
- A node’s physical writer slot inside the fleet.
- Orbit
Epoch - Milliseconds since the Unix epoch, carried in
Frame::verby time-sensitive Orbit primitives. - Parked
Ring Event Fd - Readiness for a ring whose publishers wake only parked readers.
- Parse
NetId64 Error - Parse error for
NetId64::from_str. - Ring
- A fixed-capacity, fleet-wide append-only log keyed on KIND byte.
- Ring
Cursor - Caller-owned position in a ring walk.
- Ring
Event Fd - Process-local fd readiness bridge for one shared Orbit ring.
- Ring
Loss - Counters skipped while walking a ring.
- Ring
Poll - Result of walking a cursor toward a ring’s visible head.
- Ring
Spec - Physical policy for one
OrbitTypedring. - ShmRing
Lane View - One physical lane of a
ShmRingView. - ShmRing
Metadata - Persisted geometry of one existing Orbit SHM ring.
- ShmRing
View - Read-only attachment to one existing Orbit SHM ring.
Enums§
- Error
- Ring
Read - Result of reading one logical counter from a ring source.
- Ring
Topology - Writer ownership for one
OrbitTypedring.
Traits§
- Orbit
Typed - Marker for a type that has a stable wire identity across the fleet.
- Ring
Frame Source - Read-only source that can be walked by
RingCursor.
Functions§
- poll_
ring - Walk
cursortoward the current visible head ofsource.