#[non_exhaustive]pub struct MemoryManager {
pub policy: String,
/* private fields */
}Expand description
The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found here.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.policy: StringControls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies
The following values are allowed.
- “none”
- “static” The default value is ‘none’ if unspecified.
Implementations§
Source§impl MemoryManager
impl MemoryManager
Trait Implementations§
Source§impl Clone for MemoryManager
impl Clone for MemoryManager
Source§fn clone(&self) -> MemoryManager
fn clone(&self) -> MemoryManager
Returns a duplicate 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 MemoryManager
impl Debug for MemoryManager
Source§impl Default for MemoryManager
impl Default for MemoryManager
Source§fn default() -> MemoryManager
fn default() -> MemoryManager
Returns the “default value” for a type. Read more
Source§impl Message for MemoryManager
impl Message for MemoryManager
Source§impl PartialEq for MemoryManager
impl PartialEq for MemoryManager
impl StructuralPartialEq for MemoryManager
Auto Trait Implementations§
impl Freeze for MemoryManager
impl RefUnwindSafe for MemoryManager
impl Send for MemoryManager
impl Sync for MemoryManager
impl Unpin for MemoryManager
impl UnwindSafe for MemoryManager
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