vmbus_core

Function parse_vmbus_version

Source
pub fn parse_vmbus_version(value: &str) -> Result<u32, String>
Expand description

Parses a string of the form “major.minor” (e.g “5.3”) into a vmbus version number.

N.B. This doesn’t check whether the specified version actually exists.