Skip to main content

Crate micronet_antenna

Crate micronet_antenna 

Source
Expand description

micronet-antenna is the std-enabled wrapper around micronet-antenna-core.

  • micronet-antenna-core contains the deterministic runtime/state and message types (designed to be usable in no_std + alloc environments).
  • micronet-antenna adds std-only ergonomics such as network transport.

Re-exports§

pub use transport::Transport;

Modules§

transport

Structs§

GlobalState
Deterministic replicated state.
NodeId
Stable node identity.
Proposal
A proposal is a unit of governance.
ProposalId
Stable identifier for a proposal.
Runtime
Execution engine that applies Message values to derive GlobalState.
Vote
A vote for a specific proposal.

Enums§

Decision
Result of a proposal vote.
Error
Error type used by the micronet-antenna std wrapper.
Message
The network message model.
RuntimeEvent
Side effects emitted by Runtime::apply.
VoteRule
How votes are aggregated into a Decision.

Type Aliases§

Result
Convenience result alias for std wrapper operations.