pub trait MetaModel {
Show 17 associated items
type StateId;
type MessageId;
type InvalidId;
type ConfigurationId;
type Payload;
type AgentTypeRc;
type Message;
type Reaction;
type Action;
type Emit;
type Invalid;
type Configuration;
type ConfigurationHashEntry;
type Validator;
type Condition;
const MAX_AGENTS: usize;
const MAX_MESSAGES: usize;
}
Expand description
Allow querying the model’s meta-parameters for public types.
Required Associated Constants§
Sourceconst MAX_AGENTS: usize
const MAX_AGENTS: usize
The maximal number of agents.
Sourceconst MAX_MESSAGES: usize
const MAX_MESSAGES: usize
The maximal number of in-flight messages.
Required Associated Types§
Sourcetype ConfigurationId
type ConfigurationId
The type of configuration identifiers.
Sourcetype AgentTypeRc
type AgentTypeRc
The type of boxed agent type.
Sourcetype Configuration
type Configuration
The type of the included configurations.
Sourcetype ConfigurationHashEntry
type ConfigurationHashEntry
The type of a hash table entry for the configurations (should be cache-friendly).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.