pub trait DecisionLoader {
// Required method
fn load<'a>(
&'a self,
key: &'a str,
) -> impl Future<Output = LoaderResponse> + 'a;
}
Expand description
Trait used for implementing a loader for decisions
Required Methods§
fn load<'a>(&'a self, key: &'a str) -> impl Future<Output = LoaderResponse> + 'a
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.