Enum nu_system::ProcessTask
source · pub enum ProcessTask {
Process(Process),
Task {
stat: Box<Stat>,
owner: u32,
},
}
Variants§
Implementations§
source§impl ProcessTask
impl ProcessTask
pub fn stat(&self) -> Result<Stat, ProcError>
pub fn cmdline(&self) -> Result<Vec<String>, ProcError>
pub fn cgroups(&self) -> Result<Vec<ProcessCgroup>, ProcError>
pub fn fd(&self) -> Result<Vec<FDInfo>, ProcError>
pub fn loginuid(&self) -> Result<u32, ProcError>
pub fn owner(&self) -> u32
pub fn wchan(&self) -> Result<String, ProcError>
Auto Trait Implementations§
impl RefUnwindSafe for ProcessTask
impl Send for ProcessTask
impl Sync for ProcessTask
impl Unpin for ProcessTask
impl UnwindSafe for ProcessTask
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