Skip to main content

Module source

Module source 

Source
Expand description

The source module defines the Source trait, which is used to create event generators within the simulation.

Sources are responsible for scheduling events, either periodically or based on specific conditions, and can be configured to fire once or repeatedly. This module also re-exports SourceReadyEntry and SourceView for interacting with sources.

Structs§

SourceReadyEntry
Represents an entry for a source that is ready to be utilized in the simulation.
SourceView
A read-only view of a simulation source, providing access to its identity and name.

Traits§

Source
Defines the interface for a simulation source.