Function turmoil::partition

source ·
pub fn partition(a: impl ToIpAddr, b: impl ToIpAddr)
Expand description

Partition two hosts, resulting in all messages sent between them to be dropped.

Must be called from within a Turmoil simulation.