pub trait RuntimeRefResolver:
Debug
+ Send
+ Sync {
// Required method
fn resolve(
&self,
runtime_ref: &str,
) -> Result<Option<Value>, RuntimeRefResolverError>;
}Expand description
Trait implemented by greentic-start to resolve runtime:// URIs against
the live EnvironmentRuntime snapshot. Implementations MUST be cheap
to call (they are invoked on every greentic:runtime-config/get).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".