#[repr(u32)]pub enum ucp_dt_type {
UCP_DATATYPE_CONTIG = 0,
UCP_DATATYPE_STRIDED = 1,
UCP_DATATYPE_IOV = 2,
UCP_DATATYPE_GENERIC = 7,
UCP_DATATYPE_SHIFT = 3,
}Expand description
@ingroup UCP_DATATYPE @brief UCP data type classification
The enumeration list describes the datatypes supported by UCP.
Variants§
UCP_DATATYPE_CONTIG = 0
< Contiguous datatype
UCP_DATATYPE_STRIDED = 1
< Strided datatype
UCP_DATATYPE_IOV = 2
< Scatter-gather list with multiple pointers
UCP_DATATYPE_GENERIC = 7
< Generic datatype with user-defined pack/unpack routines
UCP_DATATYPE_SHIFT = 3
< Number of bits defining the datatype classification
Implementations§
Source§impl ucp_dt_type
impl ucp_dt_type
pub const UCP_DATATYPE_CLASS_MASK: ucp_dt_type = ucp_dt_type::UCP_DATATYPE_GENERIC
Trait Implementations§
Source§impl Clone for ucp_dt_type
impl Clone for ucp_dt_type
Source§fn clone(&self) -> ucp_dt_type
fn clone(&self) -> ucp_dt_type
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 ucp_dt_type
impl Debug for ucp_dt_type
Source§impl Hash for ucp_dt_type
impl Hash for ucp_dt_type
Source§impl PartialEq for ucp_dt_type
impl PartialEq for ucp_dt_type
impl Copy for ucp_dt_type
impl Eq for ucp_dt_type
impl StructuralPartialEq for ucp_dt_type
Auto Trait Implementations§
impl Freeze for ucp_dt_type
impl RefUnwindSafe for ucp_dt_type
impl Send for ucp_dt_type
impl Sync for ucp_dt_type
impl Unpin for ucp_dt_type
impl UnwindSafe for ucp_dt_type
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