Skip to main content

choose_mapper

Function choose_mapper 

Source
fn choose_mapper(credential: Result<BaseUrlCredential, MissingBase>) -> Mapper
Expand description

The mapper the account’s env earns, paired with the credential that earns it: the base-url pair earns the spend mapper, and a missing base url carries its error to the probe’s Unmappable surface. Pure so the routing stays unit-pinned - the probe cannot be driven against the network offline.