Struct ntp_daemon::spawn::SpawnEvent
source · pub struct SpawnEvent {
pub id: SpawnerId,
pub action: SpawnAction,
}
Expand description
A SpawnEvent is an event created by the spawner for the system
The action that the system should execute is encoded in the action
field.
The spawner should make sure that it only ever sends events with its own
spawner id.
Fields§
§id: SpawnerId
§action: SpawnAction