Skip to main content

resolve

Function resolve 

Source
pub fn resolve(adapter: Adapter) -> EcosystemAdapter
Expand description

Resolve an Adapter identity to its compiled-in ecosystem implementation.

The match is exhaustive over the adapter enum, so every identity is wired at compile time and a resolve for a target can never fail at runtime — the “fail fast at startup, never mid-release” property of ADR-0002 §1.