pub struct SchedSetaffinityArgs {
pub pid: pid_t,
pub cpusetsize: size_t,
pub mask: InspectResult<Vec<u8>>,
}Fields§
§pid: pid_t§cpusetsize: size_t§mask: InspectResult<Vec<u8>>Trait Implementations§
Source§impl Clone for SchedSetaffinityArgs
impl Clone for SchedSetaffinityArgs
Source§fn clone(&self) -> SchedSetaffinityArgs
fn clone(&self) -> SchedSetaffinityArgs
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 SchedSetaffinityArgs
impl Debug for SchedSetaffinityArgs
Source§impl From<SchedSetaffinityArgs> for SyscallArgs
impl From<SchedSetaffinityArgs> for SyscallArgs
Source§fn from(args: SchedSetaffinityArgs) -> Self
fn from(args: SchedSetaffinityArgs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SchedSetaffinityArgs
impl PartialEq for SchedSetaffinityArgs
Source§impl SyscallGroupsGetter for SchedSetaffinityArgs
impl SyscallGroupsGetter for SchedSetaffinityArgs
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for SchedSetaffinityArgs
impl SyscallNumber for SchedSetaffinityArgs
fn syscall_number(&self) -> isize
impl StructuralPartialEq for SchedSetaffinityArgs
Auto Trait Implementations§
impl Freeze for SchedSetaffinityArgs
impl RefUnwindSafe for SchedSetaffinityArgs
impl Send for SchedSetaffinityArgs
impl Sync for SchedSetaffinityArgs
impl Unpin for SchedSetaffinityArgs
impl UnwindSafe for SchedSetaffinityArgs
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