#[repr(C)]pub struct uct_tl_resource_desc {
pub tl_name: [c_char; 10],
pub dev_name: [c_char; 32],
pub dev_type: uct_device_type_t,
pub sys_device: ucs_sys_device_t,
}Expand description
@ingroup UCT_RESOURCE @brief Communication resource descriptor.
Resource descriptor is an object representing the network resource. Resource descriptor could represent a stand-alone communication resource such as an HCA port, network interface, or multiple resources such as multiple network interfaces or communication ports. It could also represent virtual communication resources that are defined over a single physical network interface.
Fields§
§tl_name: [c_char; 10]< Transport name
dev_name: [c_char; 32]< Hardware device name
dev_type: uct_device_type_t< The device represented by this resource (e.g. UCT_DEVICE_TYPE_NET for a network interface)
sys_device: ucs_sys_device_t< The identifier associated with the device bus_id as captured in ucs_sys_bus_id_t struct
Trait Implementations§
Source§impl Clone for uct_tl_resource_desc
impl Clone for uct_tl_resource_desc
Source§fn clone(&self) -> uct_tl_resource_desc
fn clone(&self) -> uct_tl_resource_desc
Returns a copy 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 uct_tl_resource_desc
impl Debug for uct_tl_resource_desc
impl Copy for uct_tl_resource_desc
Auto Trait Implementations§
impl Freeze for uct_tl_resource_desc
impl RefUnwindSafe for uct_tl_resource_desc
impl Send for uct_tl_resource_desc
impl Sync for uct_tl_resource_desc
impl Unpin for uct_tl_resource_desc
impl UnwindSafe for uct_tl_resource_desc
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