Skip to main content

ResolvingBindingDispatcher

Type Alias ResolvingBindingDispatcher 

Source
pub type ResolvingBindingDispatcher = Rc<dyn Fn(&str) -> Option<Result<BindingSource>>>;
Expand description

The resolving binding dispatcher installed as the single, ordered resolution chain (see converter::install_binding_dispatch). Unlike a bare BindingDispatcher, a successful load reports the BindingSource it loaded from, so a file binding announces its real path and a compiled one its proxy name.

Aliased Typeยง

pub struct ResolvingBindingDispatcher { /* private fields */ }