Type Alias BackendFeature

Source
pub type BackendFeature<C, F> = Arc<dyn Fn(&C) -> Option<Box<F>> + Send + Sync>;
Expand description

The backend feature.

A backend feature is a function that takes a reference to a backend context as parameter and returns a feature.

Aliased Typeยง

struct BackendFeature<C, F> { /* private fields */ }