Skip to main content

choose_engine_from

Function choose_engine_from 

Source
pub fn choose_engine_from(
    requested: Option<&str>,
    force_fallback: bool,
    probe: impl FnOnce() -> Result<(), String>,
) -> EngineChoice
Expand description

The pure selection law. probe initializes a throwaway ring (or explains why it cannot); it runs only when uring is actually a candidate.