Struct ibverbs::DeviceList
[−]
[src]
pub struct DeviceList(_);
List of available RDMA devices.
Methods
impl DeviceList
[src]
fn iter(&self) -> DeviceListIter
Returns an iterator over all found devices.
fn len(&self) -> usize
Returns the number of devices.
fn is_empty(&self) -> bool
Returns true
if there are any devices.
fn get(&self, index: usize) -> Option<Device>
Returns the device at the given index
, or None
if out of bounds.
Trait Implementations
impl Sync for DeviceList
[src]
impl Send for DeviceList
[src]
impl Drop for DeviceList
[src]
impl<'a> IntoIterator for &'a DeviceList
[src]
type Item = <DeviceListIter<'a> as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = DeviceListIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
Creates an iterator from a value. Read more