#[repr(u32)]pub enum ucp_atomic_post_op_t {
UCP_ATOMIC_POST_OP_ADD = 0,
UCP_ATOMIC_POST_OP_AND = 1,
UCP_ATOMIC_POST_OP_OR = 2,
UCP_ATOMIC_POST_OP_XOR = 3,
UCP_ATOMIC_POST_OP_LAST = 4,
}Expand description
@ingroup UCP_COMM @brief Atomic operation requested for ucp_atomic_post
This enumeration defines which atomic memory operation should be performed by the ucp_atomic_post family of functions. All of these are non-fetching atomics and will not result in a request handle.
Variants§
UCP_ATOMIC_POST_OP_ADD = 0
< Atomic add
UCP_ATOMIC_POST_OP_AND = 1
< Atomic and
UCP_ATOMIC_POST_OP_OR = 2
< Atomic or
UCP_ATOMIC_POST_OP_XOR = 3
< Atomic xor
UCP_ATOMIC_POST_OP_LAST = 4
Trait Implementations§
Source§impl Clone for ucp_atomic_post_op_t
impl Clone for ucp_atomic_post_op_t
Source§fn clone(&self) -> ucp_atomic_post_op_t
fn clone(&self) -> ucp_atomic_post_op_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 ucp_atomic_post_op_t
impl Debug for ucp_atomic_post_op_t
Source§impl Hash for ucp_atomic_post_op_t
impl Hash for ucp_atomic_post_op_t
Source§impl PartialEq for ucp_atomic_post_op_t
impl PartialEq for ucp_atomic_post_op_t
impl Copy for ucp_atomic_post_op_t
impl Eq for ucp_atomic_post_op_t
impl StructuralPartialEq for ucp_atomic_post_op_t
Auto Trait Implementations§
impl Freeze for ucp_atomic_post_op_t
impl RefUnwindSafe for ucp_atomic_post_op_t
impl Send for ucp_atomic_post_op_t
impl Sync for ucp_atomic_post_op_t
impl Unpin for ucp_atomic_post_op_t
impl UnwindSafe for ucp_atomic_post_op_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