Expand description
Ids: a node another node refers to lives in an arena, an IdVec, and
is referred to by its index there, a u32 newtype per kind. A kind’s
id indexes only its own arena, so a ChanId can never look up a
process.
System items and every mapping are indexed in the environment’s arenas,
a program’s locals in its PD’s locals there, its events and processes
in its body’s, and a body’s variables in its own body_vars:
an id is meaningful only beside the arena it came from.
Structs§
- Body
VarId - A variable of one process or event body, in that body’s
body_vars. - ChanId
- A channel, in the environment’s
chans. - ConstId
- A system const, in the environment’s
consts. - EventId
- An event, in its program’s body’s
events. - FfnId
- A called foreign function, in the environment’s
ffis. - IdVec
- A
Vec<T>indexed byI. - Local
VarId - A local variable, in its program’s
localsin the environment. - Mapping
Id - A mapping, in the environment’s
mappings, project-wide. - Module
Id - An imported file, in the foreign store’s
modules. - MrId
- A memory region, in the environment’s
mrs. - PdId
- A protection domain, in the environment’s
pds; at mostPdId::MAX. - ProcId
- A process, in its program’s body’s
processes. - Struct
Id - A system struct, in the environment’s
structs.
Traits§
- Idx
- An arena index.