Skip to main content

profile_from_msg

Function profile_from_msg 

Source
pub fn profile_from_msg(msg: &ManagementProfileMsg) -> Result<ManagementProfile>
Expand description

Convert a wire-format ManagementProfileMsg into the internal ManagementProfile.

An explicit target_selection is preserved and takes precedence during strict application. Omission remains None, allowing the internal profile to derive its current selection from compatibility use_targets only for older payloads.