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]

[src]

Create a new Network running on the given event loop.

[src]

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

Trait Implementations

Auto Trait Implementations

impl !Send for Network

impl !Sync for Network