Enum hwlocality::memory::binding::MemoryBoundObject
source · pub enum MemoryBoundObject {
Process(ProcessId),
Area,
ThisProgram,
}
Expand description
Object that is being bound to particular NUMA nodes
Variants§
Process(ProcessId)
A process, identified by its PID
Area
A range of memory adresses, identified by a reference
ThisProgram
The currently running program
Trait Implementations§
source§impl Clone for MemoryBoundObject
impl Clone for MemoryBoundObject
source§fn clone(&self) -> MemoryBoundObject
fn clone(&self) -> MemoryBoundObject
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 MemoryBoundObject
impl Debug for MemoryBoundObject
source§impl Display for MemoryBoundObject
impl Display for MemoryBoundObject
source§impl From<u32> for MemoryBoundObject
impl From<u32> for MemoryBoundObject
source§impl Hash for MemoryBoundObject
impl Hash for MemoryBoundObject
source§impl PartialEq for MemoryBoundObject
impl PartialEq for MemoryBoundObject
impl Copy for MemoryBoundObject
impl Eq for MemoryBoundObject
impl StructuralPartialEq for MemoryBoundObject
Auto Trait Implementations§
impl Freeze for MemoryBoundObject
impl RefUnwindSafe for MemoryBoundObject
impl Send for MemoryBoundObject
impl Sync for MemoryBoundObject
impl Unpin for MemoryBoundObject
impl UnwindSafe for MemoryBoundObject
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)