pub fn device_usage_value(path: &Path) -> Vec<u8> {
    let _usage_constraints = fs::read(path).expect("Failed to read usage constraints!");

    // TODO: generate the device_usage_value from usage_constraints.
    //       meanwhile use a "dummy" hard-coded vector.
    vec![0xA5; 1024]
}
/// Generates the device usage value.
///
/// This value is extrapolated from the ROM_EXT manifest usage_constraints
/// field, and does not reside in the ROM_EXT manifest directly.
Generates the device usage value.
This value is extrapolated from the ROM_EXT manifest usage_constraints
field, and does not reside in the ROM_EXT manifest directly.
Generates the device usage value . This value is extrapolated from the ROM_EXT manifest usage_constraints field and does not reside in the ROM_EXT manifest directly .
pub fn device_usage_value(path: &Path) -> Vec<u8> {
    let _usage_constraints = fs::read(path).expect("Failed to read usage constraints!");
    // TODO: generate the device_usage_value from usage_constraints.
    //       meanwhile use a "dummy" hard-coded vector.
    vec![0xA5; 1024]
}
pub fn device_usage_value ( path : & Path ) -> Vec < u8 > { let _usage_constraints = fs :: read ( path ) . expect ( " " ) ; // TODO: generate the device_usage_value from usage_constraints. //       meanwhile use a "dummy" hard-coded vector. vec ! [ 0xA5 1024 ] }
Generates the device usage value.
Generates the device usage value .
path
&Path
path
&Path