rrddmma 0.7.3

A Rust library for RDMA.
Documentation
//! Complex parameter types used in RDMA send operations.

use std::ptr::NonNull;

/// Extended atomic compare-and-swap parameters.
#[derive(Debug, Clone, Copy)]
#[cfg(mlnx4)]
pub struct ExtCompareSwapParams {
    /// Pointer to the compare value.
    pub compare: NonNull<u64>,

    /// Pointer to the swap value.
    pub swap: NonNull<u64>,

    /// Pointer to the compare mask.
    pub compare_mask: NonNull<u64>,

    /// Pointer to the swap mask.
    pub swap_mask: NonNull<u64>,
}

#[cfg(mlnx4)]
unsafe impl Send for ExtCompareSwapParams {}

#[cfg(mlnx4)]
unsafe impl Sync for ExtCompareSwapParams {}