#[repr(C)]pub enum NumaMemoryPolicy {
NodeLocalStrict = 1,
NodeLocalLeniant = 2,
}Variants§
NodeLocalStrict = 1
Allocates from local node; fails if no memory is available in local node
NodeLocalLeniant = 2
Allocates from local node; falls back to allocating from other nodes in the increasing order of distance from the current node
Trait Implementations§
Source§impl Clone for NumaMemoryPolicy
impl Clone for NumaMemoryPolicy
Source§fn clone(&self) -> NumaMemoryPolicy
fn clone(&self) -> NumaMemoryPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NumaMemoryPolicy
Source§impl Debug for NumaMemoryPolicy
impl Debug for NumaMemoryPolicy
Auto Trait Implementations§
impl Freeze for NumaMemoryPolicy
impl RefUnwindSafe for NumaMemoryPolicy
impl Send for NumaMemoryPolicy
impl Sync for NumaMemoryPolicy
impl Unpin for NumaMemoryPolicy
impl UnsafeUnpin for NumaMemoryPolicy
impl UnwindSafe for NumaMemoryPolicy
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