Struct netsim::Network[][src]

pub struct Network { /* fields omitted */ }

A Network manages a set of tasks/devices. Dropping the Network will destroy all associated tasks/devices.

Methods

impl Network
[src]

Create a new Network running on the given event loop.

Get a handle to the network. Can be used to spawn tasks to the network.

Auto Trait Implementations

impl !Send for Network

impl !Sync for Network