Expand description
Phase 3: Session types infrastructure for protocol verification.
This module provides runtime support for session types, enabling protocol verification at runtime. It includes:
SessionId: Unique identifier for protocol sessionsSenderHandle: Handle for replying to messages within a sessionSessionRegistry: Per-agent registry of active sessionsProtocolStateMachine: Trait for protocol state machines
Structs§
- Sender
Handle - Handle for sending replies within a protocol session.
- Session
Id - Unique identifier for a protocol session.
- Session
Registry - Registry of active protocol sessions for an agent.
- Session
State - State of an active protocol session.
Enums§
- Protocol
Violation - Protocol violation error details.
Traits§
- Protocol
State Machine - Trait for protocol state machines.
Functions§
- shared_
registry - Create a new shared session registry.
Type Aliases§
- Shared
Session Registry - Thread-safe shared session registry.