#[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: Type§max_mtu: ibv_mtu§active_mtu: ibv_mtu§gid_tbl_len: c_int§port_cap_flags: u32§max_msg_sz: u32§bad_pkey_cntr: u32§qkey_viol_cntr: u32§pkey_tbl_len: u16§lid: u16§sm_lid: u16§lmc: u8§max_vl_num: u8§sm_sl: u8§subnet_timeout: u8§init_type_reply: u8§active_width: u8§active_speed: u8§phys_state: u8§link_layer: u8§flags: u8§port_cap_flags2: u16Trait Implementations§
Source§impl Clone for ibv_port_attr
impl Clone for ibv_port_attr
Source§fn clone(&self) -> ibv_port_attr
fn clone(&self) -> ibv_port_attr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ibv_port_attr
impl Debug for ibv_port_attr
Source§impl Default for ibv_port_attr
impl Default for ibv_port_attr
impl Copy for ibv_port_attr
Auto Trait Implementations§
impl Freeze for ibv_port_attr
impl RefUnwindSafe for ibv_port_attr
impl Send for ibv_port_attr
impl Sync for ibv_port_attr
impl Unpin for ibv_port_attr
impl UnwindSafe for ibv_port_attr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more