pub struct RegionUnits {Show 19 fields
pub callback_meta: RegionUnit,
pub sched_context: RegionUnit,
pub sched_context_id: RegionUnit,
pub sporadic_state: RegionUnit,
pub sporadic_atomic: RegionUnit,
pub remap_rule: RegionUnit,
pub node_record: RegionUnit,
pub concrete_session: RegionUnit,
pub extra_session_id: RegionUnit,
pub node_sched_entry: RegionUnit,
pub dispatch_slot: RegionUnit,
pub component_slot: RegionUnit,
pub group_name: RegionUnit,
pub group_sched_entry: RegionUnit,
pub violation: RegionUnit,
pub alive_slot: RegionUnit,
pub slot_tag: RegionUnit,
pub parameter_slot: RegionUnit,
pub param_home: RegionUnit,
}Expand description
Every element type the backing carves a table of, in declaration order.
The arena is absent on purpose: it is [MaybeUninit<u8>], size 1 align 1 by
definition, and its LENGTH is a count rather than a unit.
Fields§
§callback_meta: RegionUnit§sched_context: RegionUnit§sched_context_id: RegionUnit§sporadic_state: RegionUnit§sporadic_atomic: RegionUnitPlaced only when Counts::alloc is set.
remap_rule: RegionUnit§node_record: RegionUnit§concrete_session: RegionUnit§extra_session_id: RegionUnit§node_sched_entry: RegionUnit§dispatch_slot: RegionUnit§component_slot: RegionUnit§group_name: RegionUnit§group_sched_entry: RegionUnit§violation: RegionUnit§alive_slot: RegionUnitAlive supervision’s per-SchedContext record, one per sc.
slot_tag: RegionUnitphase-476 W0 — the per-callback-slot lifetime tag (generation + owning
node), one per cbs. Placed after every older region so each keeps
its offset.
parameter_slot: RegionUnitphase-382 W3’ — one parameter-store slot (nros_params::ParameterSlot),
one per Counts::params. Placed LAST, for the reason slot_tag was:
an image that carves no store (params == 0) keeps every offset and
the total it had before the region existed.
param_home: RegionUnitIssue 1812 — the parameter SERVICES’ home (nros_node’s ParamHome:
their state, the shared request/reply buffer pair and the staging slot
a remote set decodes its value into), one per Counts::param_home.
Placed after the store’s slots for the same reason they are last: an
image with no store keeps every offset and its total.
Trait Implementations§
Source§impl Clone for RegionUnits
impl Clone for RegionUnits
Source§fn clone(&self) -> RegionUnits
fn clone(&self) -> RegionUnits
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more