pub type ProviderInterfaceNameToIndexResult = Result<u64, i32>;