Skip to main content

default_polling_name

Function default_polling_name 

Source
pub fn default_polling_name(record: &Ident) -> Ident
Expand description

What a node’s LENDING is called: <Node>Polling.

The value a DEPLOYMENT builds and hands to Resident::polling — one field per granting clock, each holding that clock’s own context, beside the citizen each mounted clock ticks and the executor each detached one runs on. Only the runtime ever looks inside it.

It is named for the SEAM rather than for the permission, and that is the whole of the rename: the value is what a node’s POLLING needs, of which grants are one part — Resident::polling(op, ExporterPolling::new(…)) reads as its own sentence, where ExporterGrants claimed a word that belongs to the per-clock contexts. Those keep it (poll_grants_name), because they hold exactly grants and nothing else.

It is the fifth emitted per-node name beside <Node>In, <Node>Out, <Node>Due and <Node>Channels, and it is named for the WORD rather than for the borrow: Context is spoken for twice over in the framework (the resource map, and the emission buffer that gave the name back).