pub struct Resolved {
pub layer: InstalledLayer,
pub tools: Vec<(String, PathBuf)>,
pub qualified: Vec<(ToolProvider, PathBuf)>,
pub runners: BTreeMap<String, RunnerContract>,
}Expand description
A successful resolution: the one layer this pin selects.
Fields§
§layer: InstalledLayer§tools: Vec<(String, PathBuf)>The tools this pin exposes (the pin’s tools subset, or every tool in
the layer), each with its resolved binary path. Exactly one entry per
NAME — that is what keeps one shim per name (REQ-REALM2-001 clause 4c).
qualified: Vec<(ToolProvider, PathBuf)>Every provider of every exposed name, including the ones a bare name
does NOT dispatch to (REQ-REALM2-001 clause 4b). Addressable as
realm/tool, so “compare our fork against upstream” keeps working
instead of the unselected binary disappearing.
runners: BTreeMap<String, RunnerContract>Runner contracts (REQ-RUNNER-001): tool → (runner tool, prefix args, optional per-user-arg flag), from the signed manifest annotations.
Trait Implementations§
impl Eq for Resolved
impl StructuralPartialEq for Resolved
Auto Trait Implementations§
impl Freeze for Resolved
impl RefUnwindSafe for Resolved
impl Send for Resolved
impl Sync for Resolved
impl Unpin for Resolved
impl UnsafeUnpin for Resolved
impl UnwindSafe for Resolved
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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