#[repr(C)]pub struct ucp_mem_advise_params {
pub field_mask: u64,
pub address: *mut c_void,
pub length: size_t,
pub advice: ucp_mem_advice_t,
}Expand description
@ingroup UCP_MEM @brief Tuning parameters for the UCP memory advice.
This structure defines the parameters that are used for the UCP memory advice tuning during the @ref ucp_mem_advise “ucp_mem_advise” routine.
Fields§
§field_mask: u64Mask of valid fields in this structure, using bits from @ref ucp_mem_advise_params_field. All fields are mandatory. Provides ABI compatibility with respect to adding new fields.
address: *mut c_voidMemory base address.
length: size_tLength (in bytes) to allocate or map (register).
advice: ucp_mem_advice_tMemory use advice @ref ucp_mem_advice
Trait Implementations§
Source§impl Clone for ucp_mem_advise_params
impl Clone for ucp_mem_advise_params
Source§fn clone(&self) -> ucp_mem_advise_params
fn clone(&self) -> ucp_mem_advise_params
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_mem_advise_params
impl Debug for ucp_mem_advise_params
impl Copy for ucp_mem_advise_params
Auto Trait Implementations§
impl Freeze for ucp_mem_advise_params
impl RefUnwindSafe for ucp_mem_advise_params
impl !Send for ucp_mem_advise_params
impl !Sync for ucp_mem_advise_params
impl Unpin for ucp_mem_advise_params
impl UnwindSafe for ucp_mem_advise_params
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