fn parse_manufacturer_specific(tag: &str) -> Option<Value> {
    let mut vs = tag[2..].splitn(2, ',');
    match (parse_int(&mut vs), vs.next()) {
        (Some(m), Some(t)) => {
            Some(Value::ManufacturerSpecific(m, Some(t.into())))
        }
        (Some(m), None) => Some(Value::ManufacturerSpecific(m, None)),
        _ => None,
    }
}
/// Parse a Manufacturer Specific tag [ms].
Parse a Manufacturer Specific tag [ms].
Parse a Manufacturer Specific tag [ ms ] .
fn parse_manufacturer_specific(tag: &str) -> Option<Value> {
    let mut vs = tag[2..].splitn(2, ',');
    match (parse_int(&mut vs), vs.next()) {
        (Some(m), Some(t)) => {
            Some(Value::ManufacturerSpecific(m, Some(t.into())))
        }
        (Some(m), None) => Some(Value::ManufacturerSpecific(m, None)),
        _ => None,
    }
}
fn parse_manufacturer_specific ( tag : & str ) -> Option < Value > { let mut vs = tag [ 2 .. ] . splitn ( 2 , ',' ) ; match ( parse_int ( & mut vs ) , vs . next ( ) ) { ( Some ( m ) , Some ( t ) ) => { Some ( Value :: ManufacturerSpecific ( m , Some ( t . into ( ) ) ) ) } ( Some ( m ) , None ) => Some ( Value :: ManufacturerSpecific ( m , None ) ) , _ => None , } }
Parse a Manufacturer Specific tag [ms].
Parse a Manufacturer Specific tag [ ms ] .
tag
&str