Trait DecisionLoader

Source
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§

Source

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.

Implementors§