Skip to main content

SourceFactsFn

Type Alias SourceFactsFn 

Source
pub type SourceFactsFn = Arc<dyn Fn(&str, &str, &str, &ChosenSettings) -> Option<SourceFacts> + Send + Sync>;
Expand description

What is known of a Source instance, from its Operation ID, its name, its provider ID and its settings; None when nothing is, and the gateway falls back to the instance’s own labels.

Aliased Type§

pub struct SourceFactsFn { /* private fields */ }