//! This module contains all implementations of adversaries, which determine where Packets are
//! injected into the network.
usecrate::packet::Packet;usecrate::network::Network;pubmodpath_random;/// Trait which all adversaries must implement.
pubtraitAdversary{/// Get a new `Adversary`.
fnnew()->Self;/// Create the packets to be injected.
fnget_next_packets(&mutself, network:&Network, rd:usize)->Vec<Packet>;}