pub struct ExecCpuAffinity {
pub initial: Option<String>,
pub final_affinity: Option<String>,
}Expand description
CPU affinity for exec.
Fields§
§initial: Option<String>Initial CPU affinity.
final_affinity: Option<String>Final CPU affinity.
Trait Implementations§
Source§impl Clone for ExecCpuAffinity
impl Clone for ExecCpuAffinity
Source§fn clone(&self) -> ExecCpuAffinity
fn clone(&self) -> ExecCpuAffinity
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 ExecCpuAffinity
impl Debug for ExecCpuAffinity
Source§impl<'de> Deserialize<'de> for ExecCpuAffinity
impl<'de> Deserialize<'de> for ExecCpuAffinity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecCpuAffinity
impl RefUnwindSafe for ExecCpuAffinity
impl Send for ExecCpuAffinity
impl Sync for ExecCpuAffinity
impl Unpin for ExecCpuAffinity
impl UnsafeUnpin for ExecCpuAffinity
impl UnwindSafe for ExecCpuAffinity
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