Skip to main content

Crate gbp_core

Crate gbp_core 

Source
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:

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.