#[repr(u32)]pub enum uct_mem_advice_t {
UCT_MADV_NORMAL = 0,
UCT_MADV_WILLNEED = 1,
}Expand description
@ingroup UCT_MD @brief list of UCT memory use advice
Variants§
UCT_MADV_NORMAL = 0
< No special treatment
UCT_MADV_WILLNEED = 1
< can be used on the memory mapped with @ref UCT_MD_MEM_FLAG_NONBLOCK to speed up memory mapping and to avoid page faults when the memory is accessed for the first time.
Trait Implementations§
Source§impl Clone for uct_mem_advice_t
impl Clone for uct_mem_advice_t
Source§fn clone(&self) -> uct_mem_advice_t
fn clone(&self) -> uct_mem_advice_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_mem_advice_t
impl Debug for uct_mem_advice_t
Source§impl Hash for uct_mem_advice_t
impl Hash for uct_mem_advice_t
Source§impl PartialEq for uct_mem_advice_t
impl PartialEq for uct_mem_advice_t
impl Copy for uct_mem_advice_t
impl Eq for uct_mem_advice_t
impl StructuralPartialEq for uct_mem_advice_t
Auto Trait Implementations§
impl Freeze for uct_mem_advice_t
impl RefUnwindSafe for uct_mem_advice_t
impl Send for uct_mem_advice_t
impl Sync for uct_mem_advice_t
impl Unpin for uct_mem_advice_t
impl UnwindSafe for uct_mem_advice_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