Struct rdma_sys::ibv_port_attr
source · [−]#[repr(C)]pub struct ibv_port_attr {Show 22 fields
pub state: Type,
pub max_mtu: Type,
pub active_mtu: Type,
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: Typeactive_mtu: Typegid_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: u16Trait Implementations
sourceimpl Clone for ibv_port_attr
impl Clone for ibv_port_attr
sourcefn clone(&self) -> ibv_port_attr
fn clone(&self) -> ibv_port_attr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Copy for ibv_port_attr
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more