pub struct MemoryPolicyBuilder { /* private fields */ }Expand description
Builder for MemoryPolicy.
Implementations§
Source§impl MemoryPolicyBuilder
impl MemoryPolicyBuilder
Sourcepub fn modes<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn modes<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
modes is the list of known memory policy modes, e.g., “MPOL_INTERLEAVE”.
Sourcepub fn flags<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
pub fn flags<VALUE: Into<Vec<String>>>(self, value: VALUE) -> Self
flags is the list of known memory policy mode flags, e.g., “MPOL_F_STATIC_NODES”.