Expand description
Dependency neutral compiler infrastructure shared by PowerIO crates.
This crate owns source buffers, diagnostics, operation errors, the generic
PioModule, repeated value containers, and output destinations. It does
not own electrical network, calculation, matrix, or dynamic value types.
Modules§
- limits
- Decode time record limits, shared by every PowerIO wire.
Macros§
- diagnostic_
codes - Declare one crate’s diagnostic registry.
Structs§
- Artifact
Path - Portable relative path of one output artifact.
- Destination
- Owned output destination for one file, one directory, or memory artifacts.
- Diagnostic
- One coded user facing finding.
- Diagnostic
Code - Stable dotted identity of one diagnostic.
- Diagnostic
Id - Diagnostic
Info - One entry in a crate’s diagnostic registry.
- Digest
- Validated digest attached to a stored source descriptor.
- Error
- Failure to produce an operation’s requested output.
- Format
Id - Open stable identifier used to select a parser or writer.
- History
Entry - Structured description of an operation that produced the current value.
- History
Id - Memory
Artifact - One owned memory artifact.
- PioModule
- One typed PowerIO compiler unit.
- Producer
- Program identity recorded with a module.
- Scenario
- One named scenario and its optional probability.
- Scenario
Id - Case-sensitive stable identity of one scenario.
- Scenario
Set - Named alternatives with no implied time order.
- Source
Source::openon a file retains the primary bytes and permits constrained acquisition of referenced files beneath the file’s canonical containing directory;Source::with_acquisition_rootwidens that root at construction, and never from a parser.Source::from_bytesgrants no filesystem access; referenced content reaches an in-memory source only throughSource::with_named_buffer.- Source
Buffer - Immutable named bytes retained by a
Source. - Source
Descriptor - Durable description of one source buffer.
- Source
Id - Source
MapEntry - Relation between one typed value target and its source bytes.
- Source
Span - Half open byte range in one module source.
- Time
Point - One ordered position in a time series.
- Time
Series - Ordered complete values of one Rust type.
- Write
Result - Successful write output plus diagnostics emitted by the writer.
Enums§
- Code
Status - Whether a diagnostic identity is still emitted.
- Diagnostic
Severity - Severity of one user facing finding.
- Diagnostic
Stage - Pipeline stage encoded by the first segment of a diagnostic code.
- Digest
Algorithm - Error
Category - Coarse projection of an operation failure for bindings and exit statuses.
- History
Kind - Source
Relation - Written
Output - Complete inventory of output owned by the caller.
Constants§
- CORE_
DIAGNOSTIC_ CODES - Every code declared by this registry.
- SCENARIO_
PROBABILITY_ TOLERANCE - Absolute tolerance for a complete probability sum.
Functions§
- check_
registry - Check grammar, namespace, uniqueness, summaries, and fatal category data.
- check_
scope_ ownership - Check that two crates do not claim the same
NAMESPACE.SCOPEprefix. - code_
is_ well_ formed - Check
[A-Z][A-Z0-9_]*(\.[A-Z0-9_]+){2,}. - render_
diagnostic - render_
diagnostics