Module spawn

Module spawn 

Source

Modules§

nts
pool
standard

Structs§

PeerCreateParameters
PeerId
Unique identifier for a peer. This peer id makes sure that even if the network address is the same that we always know which specific spawned peer we are talking about.
PeerRemovedEvent
SpawnEvent
A SpawnEvent is an event created by the spawner for the system
SpawnerId
Unique identifier for a spawner. This is used to identify which spawner was used to create a peer

Enums§

PeerRemovalReason
This indicates what the reason was that a peer was removed.
SpawnAction
The kind of action that the spawner requests to the system. Currently a spawner can only create peers
SystemEvent
Events coming from the system are encoded in this enum

Traits§

BasicSpawner
Spawner