Skip to main content

adapters_for

Function adapters_for 

Source
pub fn adapters_for(
    source: Option<&str>,
    machine_id: &str,
) -> Result<Vec<Box<dyn Adapter>>, String>
Expand description

The adapters an ingest of source runs: the one named, or all of them when no source is given. An unknown name is the caller’s mistake and is answered with a message listing the sources that exist.