Skip to main content

Module provider

Module provider 

Source
Expand description

The provider abstraction: a uniform ScoreProvider interface plus a runtime-selectable Provider enum.

The TUI builds one Provider from a ProviderConfig and calls its inherent async methods; it never names a concrete backend. New backends are added by implementing ScoreProvider and adding a variant here.

Structs§

ProviderConfig
Everything needed to build a Provider at runtime.

Enums§

Provider
A runtime-selected backend. Dispatches to the concrete provider.
ProviderKind
Which backend to use.

Traits§

ScoreProvider
A uniform interface every backend implements.