Function compare_with_library_version

Source
pub fn compare_with_library_version(
    major: u8,
    minor: u8,
) -> Result<Ordering, Error>
Expand description

Compares the supplied version with that of the runtime system library.

Returns the comparison, or Err if a problem occurred parsing the library version string. The comparison will represent supplied.cmp(&library).