pub enum NumaStrategy {
DISABLED,
DISTRIBUTE,
ISOLATE,
NUMACTL,
MIRROR,
COUNT,
}
Expand description
A rusty wrapper around numa_strategy
.
Variants§
DISABLED
The numa strategy is disabled.
DISTRIBUTE
help wanted: what does this do?
ISOLATE
help wanted: what does this do?
NUMACTL
help wanted: what does this do?
MIRROR
help wanted: what does this do?
COUNT
help wanted: what does this do?
Trait Implementations§
Source§impl Clone for NumaStrategy
impl Clone for NumaStrategy
Source§fn clone(&self) -> NumaStrategy
fn clone(&self) -> NumaStrategy
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 NumaStrategy
impl Debug for NumaStrategy
Source§impl From<NumaStrategy> for ggml_numa_strategy
impl From<NumaStrategy> for ggml_numa_strategy
Source§fn from(value: NumaStrategy) -> Self
fn from(value: NumaStrategy) -> Self
Converts to this type from the input type.
Source§impl PartialEq for NumaStrategy
impl PartialEq for NumaStrategy
Source§impl TryFrom<u32> for NumaStrategy
impl TryFrom<u32> for NumaStrategy
Source§type Error = InvalidNumaStrategy
type Error = InvalidNumaStrategy
The type returned in the event of a conversion error.
impl Copy for NumaStrategy
impl Eq for NumaStrategy
impl StructuralPartialEq for NumaStrategy
Auto Trait Implementations§
impl Freeze for NumaStrategy
impl RefUnwindSafe for NumaStrategy
impl Send for NumaStrategy
impl Sync for NumaStrategy
impl Unpin for NumaStrategy
impl UnwindSafe for NumaStrategy
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