Skip to main content

KeyLookup

Type Alias KeyLookup 

Source
pub type KeyLookup = Arc<dyn Fn(&str) -> Result<Option<String>, String> + Send + Sync>;
Expand description

The API key of an image provider: Ok(None) when none is configured.

Aliased Typeยง

pub struct KeyLookup { /* private fields */ }