Skip to main content

ModelResolver

Trait ModelResolver 

Source
pub trait ModelResolver:
    Send
    + Sync
    + 'static {
    // Required method
    fn resolve_version(&self) -> ResolvedModel;
}
Expand description

Resolves the concrete model/version a client would use right now. Hosts implement this (often by querying the provider) so a deployed pin can be re-validated on a heartbeat to catch provider-side silent upgrades.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§