Struct ibverbs_sys::ibv_port_attr[][src]

#[repr(C)]
pub struct ibv_port_attr {
Show 22 fields pub state: Type, pub max_mtu: ibv_mtu, pub active_mtu: ibv_mtu, pub gid_tbl_len: c_int, pub port_cap_flags: u32, pub max_msg_sz: u32, pub bad_pkey_cntr: u32, pub qkey_viol_cntr: u32, pub pkey_tbl_len: u16, pub lid: u16, pub sm_lid: u16, pub lmc: u8, pub max_vl_num: u8, pub sm_sl: u8, pub subnet_timeout: u8, pub init_type_reply: u8, pub active_width: u8, pub active_speed: u8, pub phys_state: u8, pub link_layer: u8, pub flags: u8, pub port_cap_flags2: u16,
}

Fields

state: Typemax_mtu: ibv_mtuactive_mtu: ibv_mtugid_tbl_len: c_intport_cap_flags: u32max_msg_sz: u32bad_pkey_cntr: u32qkey_viol_cntr: u32pkey_tbl_len: u16lid: u16sm_lid: u16lmc: u8max_vl_num: u8sm_sl: u8subnet_timeout: u8init_type_reply: u8active_width: u8active_speed: u8phys_state: u8link_layer: u8flags: u8port_cap_flags2: u16

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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.