Function postgresql_archive::get_version
source · pub async fn get_version(url: &str, version_req: &VersionReq) -> Result<Version>
Expand description
Gets the version for the specified version requirement. If a version for the version requirement is not found, then an error is returned.
§Errors
- If the version is not found.