pub struct PerNuma;Expand description
A strategy that stores data per memory region.
This strategy uses the memory region index and count from the PinnedAffinity to determine
where to store and retrieve data.
Trait Implementations§
Source§impl Strategy for PerNuma
impl Strategy for PerNuma
Source§fn index(affinity: PinnedAffinity) -> usize
fn index(affinity: PinnedAffinity) -> usize
Returns the slot index for the given affinity.
Source§fn count(affinity: PinnedAffinity) -> usize
fn count(affinity: PinnedAffinity) -> usize
Returns the total number of slots for the given affinity.
impl Copy for PerNuma
impl Eq for PerNuma
impl StructuralPartialEq for PerNuma
Auto Trait Implementations§
impl Freeze for PerNuma
impl RefUnwindSafe for PerNuma
impl Send for PerNuma
impl Sync for PerNuma
impl Unpin for PerNuma
impl UnwindSafe for PerNuma
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