ibverbs_sys

Struct ibv_device_attr

Source
#[repr(C)]
pub struct ibv_device_attr {
Show 40 fields pub fw_ver: [c_char; 64], pub node_guid: __be64, pub sys_image_guid: __be64, pub max_mr_size: u64, pub page_size_cap: u64, pub vendor_id: u32, pub vendor_part_id: u32, pub hw_ver: u32, pub max_qp: c_int, pub max_qp_wr: c_int, pub device_cap_flags: c_uint, pub max_sge: c_int, pub max_sge_rd: c_int, pub max_cq: c_int, pub max_cqe: c_int, pub max_mr: c_int, pub max_pd: c_int, pub max_qp_rd_atom: c_int, pub max_ee_rd_atom: c_int, pub max_res_rd_atom: c_int, pub max_qp_init_rd_atom: c_int, pub max_ee_init_rd_atom: c_int, pub atomic_cap: ibv_atomic_cap, pub max_ee: c_int, pub max_rdd: c_int, pub max_mw: c_int, pub max_raw_ipv6_qp: c_int, pub max_raw_ethy_qp: c_int, pub max_mcast_grp: c_int, pub max_mcast_qp_attach: c_int, pub max_total_mcast_qp_attach: c_int, pub max_ah: c_int, pub max_fmr: c_int, pub max_map_per_fmr: c_int, pub max_srq: c_int, pub max_srq_wr: c_int, pub max_srq_sge: c_int, pub max_pkeys: u16, pub local_ca_ack_delay: u8, pub phys_port_cnt: u8,
}

Fields§

§fw_ver: [c_char; 64]§node_guid: __be64§sys_image_guid: __be64§max_mr_size: u64§page_size_cap: u64§vendor_id: u32§vendor_part_id: u32§hw_ver: u32§max_qp: c_int§max_qp_wr: c_int§device_cap_flags: c_uint§max_sge: c_int§max_sge_rd: c_int§max_cq: c_int§max_cqe: c_int§max_mr: c_int§max_pd: c_int§max_qp_rd_atom: c_int§max_ee_rd_atom: c_int§max_res_rd_atom: c_int§max_qp_init_rd_atom: c_int§max_ee_init_rd_atom: c_int§atomic_cap: ibv_atomic_cap§max_ee: c_int§max_rdd: c_int§max_mw: c_int§max_raw_ipv6_qp: c_int§max_raw_ethy_qp: c_int§max_mcast_grp: c_int§max_mcast_qp_attach: c_int§max_total_mcast_qp_attach: c_int§max_ah: c_int§max_fmr: c_int§max_map_per_fmr: c_int§max_srq: c_int§max_srq_wr: c_int§max_srq_sge: c_int§max_pkeys: u16§local_ca_ack_delay: u8§phys_port_cnt: u8

Trait Implementations§

Source§

impl Clone for ibv_device_attr

Source§

fn clone(&self) -> ibv_device_attr

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ibv_device_attr

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ibv_device_attr

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for ibv_device_attr

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.