pub struct Resolved {
pub config: Config,
pub harness: HarnessConfig,
pub modules: BTreeMap<String, bool>,
pub preset_chain: Vec<String>,
pub warnings: Vec<String>,
}Expand description
§3.5’s resolver output: one materialized Config (step 7), the folded
HarnessConfig it came from (defaults < preset layer < user file <
sanitized project file, step 4), every named module’s activation state
(step 7’s “module-activation set”), the resolved preset chain
(root-first, informational), and any non-fatal warnings collected along
the way (lenient-mode unknown keys, D-7/D-9 fallbacks, C1/C3/C4/C6,
sanitizer/clamp notices from a project layer).
Fields§
§config: ConfigThe materialized SDK Config.
harness: HarnessConfigThe final folded HarnessConfig, before Config materialization.
modules: BTreeMap<String, bool>Every named module’s activation state (MODULE_NAMES +
NESTED_MODULE_NAMES).
preset_chain: Vec<String>The resolved extends chain, root-first (empty if the top file set
no extends).
warnings: Vec<String>Non-fatal diagnostics.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Resolved
impl !UnwindSafe for Resolved
impl Freeze for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more