DecisionLoader

Trait DecisionLoader 

Source
pub trait DecisionLoader: Debug + Send {
    // Required method
    fn load<'a>(
        &'a self,
        key: &'a str,
    ) -> Pin<Box<dyn Future<Output = LoaderResponse> + Send + 'a>>;
}
Expand description

Trait used for implementing a loader for decisions

Required Methods§

Source

fn load<'a>( &'a self, key: &'a str, ) -> Pin<Box<dyn Future<Output = LoaderResponse> + Send + 'a>>

Implementors§