pub trait TierBackend: Send + Sync {
// Required method
fn resolve(
&self,
owner_id: &str,
) -> Pin<Box<dyn Future<Output = Result<TierInfo>> + Send + '_>>;
}Expand description
Backend trait for tier resolution. Object-safe.
The app implements this with its own storage/logic — the framework provides the trait, wrapper, middleware, and guards.