Module badtcp

Source
Expand description

Implement a NetStreamProvider that can break things.

Structs§

BrokenTcpProvider 🔒
A NetStreamProvider that can make its connections fail.
ConditionalAction 🔒
An Action plus a set of conditions when it applies.

Enums§

Action 🔒
An action that we can take upon trying to make a TCP connection.
ActionPat 🔒
When should an Action apply?
BreakableTcpStream 🔒
A TCP stream that is either present, or black-holed.
BreakableTcpStreamP 🔒