#[repr(u32)]pub enum uct_device_type_t {
UCT_DEVICE_TYPE_NET = 0,
UCT_DEVICE_TYPE_SHM = 1,
UCT_DEVICE_TYPE_ACC = 2,
UCT_DEVICE_TYPE_SELF = 3,
UCT_DEVICE_TYPE_LAST = 4,
}Expand description
@ingroup UCT_RESOURCE @brief List of UCX device types.
Variants§
UCT_DEVICE_TYPE_NET = 0
< Network devices
UCT_DEVICE_TYPE_SHM = 1
< Shared memory devices
UCT_DEVICE_TYPE_ACC = 2
< Acceleration devices
UCT_DEVICE_TYPE_SELF = 3
< Loop-back device
UCT_DEVICE_TYPE_LAST = 4
Trait Implementations§
Source§impl Clone for uct_device_type_t
impl Clone for uct_device_type_t
Source§fn clone(&self) -> uct_device_type_t
fn clone(&self) -> uct_device_type_t
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_device_type_t
impl Debug for uct_device_type_t
Source§impl Hash for uct_device_type_t
impl Hash for uct_device_type_t
Source§impl PartialEq for uct_device_type_t
impl PartialEq for uct_device_type_t
impl Copy for uct_device_type_t
impl Eq for uct_device_type_t
impl StructuralPartialEq for uct_device_type_t
Auto Trait Implementations§
impl Freeze for uct_device_type_t
impl RefUnwindSafe for uct_device_type_t
impl Send for uct_device_type_t
impl Sync for uct_device_type_t
impl Unpin for uct_device_type_t
impl UnwindSafe for uct_device_type_t
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