pub type ProviderInterfaceNameToIndexResult = Result<u64, i32>;
enum ProviderInterfaceNameToIndexResult { Ok(u64), Err(i32), }
Contains the success value
Contains the error value