Function get_all_devices

Source
pub fn get_all_devices() -> Vec<RdmaDevice>
Expand description

Retrieves information about all available RDMA devices in the system.

This function queries the system for all available RDMA devices and returns detailed information about each device, including its capabilities, ports, and attributes.

ยงReturns

A vector of RdmaDevice structures, each representing an RDMA device in the system. Returns an empty vector if no devices are found or if there was an error querying the devices.