Struct ibverbs_sys::ibv_qp_attr[][src]

#[repr(C)]
pub struct ibv_qp_attr {
Show 26 fields pub qp_state: Type, pub cur_qp_state: Type, pub path_mtu: ibv_mtu, pub path_mig_state: ibv_mig_state, pub qkey: u32, pub rq_psn: u32, pub sq_psn: u32, pub dest_qp_num: u32, pub qp_access_flags: c_uint, pub cap: ibv_qp_cap, pub ah_attr: ibv_ah_attr, pub alt_ah_attr: ibv_ah_attr, pub pkey_index: u16, pub alt_pkey_index: u16, pub en_sqd_async_notify: u8, pub sq_draining: u8, pub max_rd_atomic: u8, pub max_dest_rd_atomic: u8, pub min_rnr_timer: u8, pub port_num: u8, pub timeout: u8, pub retry_cnt: u8, pub rnr_retry: u8, pub alt_port_num: u8, pub alt_timeout: u8, pub rate_limit: u32,
}

Fields

qp_state: Typecur_qp_state: Typepath_mtu: ibv_mtupath_mig_state: ibv_mig_stateqkey: u32rq_psn: u32sq_psn: u32dest_qp_num: u32qp_access_flags: c_uintcap: ibv_qp_capah_attr: ibv_ah_attralt_ah_attr: ibv_ah_attrpkey_index: u16alt_pkey_index: u16en_sqd_async_notify: u8sq_draining: u8max_rd_atomic: u8max_dest_rd_atomic: u8min_rnr_timer: u8port_num: u8timeout: u8retry_cnt: u8rnr_retry: u8alt_port_num: u8alt_timeout: u8rate_limit: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.