Crate dwbase_swarm

Crate dwbase_swarm 

Source
Expand description

Swarm coordination scaffold for DWBase; orchestration logic will be added later.

Structs§

AtomBatch
Batch of atoms to ship to a peer.
BloomFilter
Bloom filter wrapper for message payloads.
BloomOffer
Offer of bloom filter for a world and window.
Envelope
Envelope wire format exchanged between peers.
Hello
Initial handshake: declares identity, served worlds, and subscription intents.
Membership
Tracks known peers, last-seen timestamps, and backoff windows.
MissingRequest
Request for specific missing atoms.
PeerId
Identifier for a peer in the swarm.
PeerInfo
Metadata describing a peer.
SystemClock
WorldSubscription
A peer’s subscription intent for a world (or pattern).

Enums§

EnvelopeKind
Basic envelope category marker.
InterestKind
SwarmError
Errors surfaced by the swarm skeleton.

Traits§

Clock
Clock abstraction to make membership logic testable.

Type Aliases§

Result