Module sim::models::model[][src]

Structs

Model

Model wraps ModelType and provides common ID functionality (a struct field and associated accessor method). The simulator requires all models to have an ID.

Enums

ModelType

ModelType is an enum encompassing all the available model types. Each variant holds a concrete type that implements AsModel.

Traits

AsModel

The AsModel trait defines everything required for a model to operate within the discrete event simulation. The simulator formalism (Discrete Event System Specification) requires events_ext, events_int, time_advance, and until_next_event. The additional status is for facilitation of simulation reasoning, reporting, and debugging.