Expand description
The protocol contract.
Enums§
- Event
- An event a protocol can be given. Used by drivers and by the test helper.
Traits§
- Protocol
- A synchronous protocol state machine.
Functions§
- step
- Deliver one event to
pand return the effects it emitted. - step_in
- Deliver one event to
pagainst a store the caller owns, and return the effects it emitted. - step_
noting step_with, collecting what the protocol narrates as well as what it emitted.- step_
with - Deliver one event to
pagainst a timer identity source the caller owns.
Type Aliases§
- ProtoCx
- The context type for a given protocol.
- Proto
Effect - The effect type for a given protocol.
- Proto
Event - The event type for a given protocol.