Skip to main content

resolve_target

Function resolve_target 

Source
pub fn resolve_target<I: IbvDeviceImpl>(
    target: &IbvDeviceTarget,
) -> Option<IbvDeviceInfo>
Expand description

Resolves an IbvDeviceTarget to a single NIC of backend I: the named device for IbvDeviceTarget::Nic, or the best NIC for a memory location. Both arms are scoped to backend I, so a name belonging to a different backend resolves to None.