Expand description
Agent
s represent communication participants like Alice, Bob or Eve.
Note that attackers are usually not represented by these Agent
s but instead through a recipe
term (see crate::trace::InputAction
).
Each Agent
has an inbound and an outbound channel (see crate::stream
)
Structs§
- An
Agent
holds a non-cloneable reference to a Stream. AgentDescriptor
s act like a blueprint to spawnAgent
s with a corresponding server or client role and a specific TLs version. Essentially they are anAgent
without a stream.- Copyable reference to an
Agent
. It identifies exactly one agent.