pub fn utils_check_virtual_device_compatibility(
virtual_type: Type,
other_type: Type,
) -> boolExpand description
Determines if a connection of type @virtual_type can (in the general case) work with connections of type @other_type.
If @virtual_type is NM_TYPE_SETTING_VLAN, then this checks if
@other_type is a valid type for the parent of a VLAN.
If @virtual_type is a “controller” type (eg, NM_TYPE_SETTING_BRIDGE),
then this checks if @other_type is a valid type for a port of that
controller.
Note that even if this returns true it is not guaranteed that
§virtual_type
a virtual connection type
§other_type
a connection type to test against @virtual_type