Expand description
Core type vocabulary for the Group Broadcast Protocol (GBP) stack.
This crate has no external dependencies beyond core/alloc and is the
shared foundation for every other crate in the stack:
StreamType— the four stream classes defined by GBP.GbpFlags— frame delivery flag constants.NodeState,TransitionState,SubprotocolState— finite state machines from the state-machine specification.ControlOpcode— the control plane opcode registry.SignalType— the GSP signal opcode registry.ErrorClassandcodes— the error registry.- Type aliases for
GroupId,MemberId,Epoch,TransitionId,StreamIdandSequenceNo.
These types intentionally carry no I/O, no serialization and no crypto so that the higher layers can depend on a stable, lightweight vocabulary.
Re-exports§
pub use bounded::BoundedSeen;pub use codec::PayloadCodec;pub use conformance::ConformanceClass;pub use control::ControlOpcode;pub use errors::ErrorClass;pub use errors::codes;pub use flags::GbpFlags;pub use ids::Epoch;pub use ids::GroupId;pub use ids::MemberId;pub use ids::SequenceNo;pub use ids::StreamId;pub use ids::TransitionId;pub use signal::SignalType;pub use state::NodeState;pub use state::SubprotocolState;pub use state::TransitionState;pub use state::timeouts;pub use stream::StreamType;
Modules§
- bounded
- LRU-bounded set for per-epoch deduplication.
- codec
- Payload codec discriminant.
- conformance
- Interoperability conformance classes (gbp-interop-profile §2).
- control
- GBP control plane opcode registry.
- errors
- Error class enum and the registry of canonical error codes.
- flags
- GBP frame delivery flags.
- ids
- Identifier type aliases used across the stack.
- signal
- GSP signal opcode registry.
- state
- Finite state machines defined by the state-machine specification.
- stream
- GBP stream classes.