Module state_machine

Module state_machine 

Source
Expand description

State machine types with compile-time state enforcement using phantom types.

This module provides zero-cost state machine abstractions using Rust’s type system to prevent invalid state transitions at compile time.

Modules§

content_states
Content upload lifecycle states.
proof_states
Bandwidth proof lifecycle states.

Structs§

BandwidthProofState
Type-safe bandwidth proof with state machine enforcement.
ContentUpload
Type-safe content upload with state machine enforcement.