Skip to main content

Crate parliament

Crate parliament 

Source
Expand description

§The OwlRoute Parliament

This crate defines the core protocols, traits, and domain models for the Parliament system. It is the “constitution” of the system, containing no specific infrastructure implementations. Its purpose is to provide a stable, agnostic foundation upon which all Governance services and tools are built.

The primary components are:

  • model: Contains the core domain types like Writ, Echo, Vigil, and FlightPlan. These represent the nouns of the Parliament’s language.
  • traits: Defines the abstract interfaces (WritDispatcher, EventStream) that infrastructure adapters must implement. These are the “Ports” of the system.
  • error: Provides a unified Error type and Result alias for all operations within the ecosystem.
  • protocol: Contains the raw data structures generated from .proto files, used for on-the-wire serialization.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use model::CommandId;
pub use model::Disturbance;
pub use model::Echo;
pub use model::EventId;
pub use model::FlightPlan;
pub use model::Hoot;
pub use model::HuntId;
pub use model::ObjectiveId;
pub use model::Shriek;
pub use model::Signet;
pub use model::Sortie;
pub use model::SortieId;
pub use model::Vigil;
pub use model::Warren;
pub use model::WarrenId;
pub use model::Writ;
pub use traits::EventStream;
pub use traits::Hunt;
pub use traits::WritDispatcher;

Modules§

error
model
protocol
The Parliament Protocol Tier
traits
Parliament Traits