pub struct ProcessQuery<'q> {
pub sort_key: SortKey,
pub descending: bool,
pub filter: &'q str,
pub show_kernel_threads: bool,
}Expand description
How the process table is filtered and sorted.
Fields§
§sort_key: SortKeyColumn to sort by.
descending: boolLargest first when true.
filter: &'q strCase-insensitive substring of name, command or user, or an exact pid.
show_kernel_threads: boolInclude kernel threads (kworker and friends).
Trait Implementations§
Source§impl<'q> Clone for ProcessQuery<'q>
impl<'q> Clone for ProcessQuery<'q>
impl<'q> Copy for ProcessQuery<'q>
Auto Trait Implementations§
impl<'q> Freeze for ProcessQuery<'q>
impl<'q> RefUnwindSafe for ProcessQuery<'q>
impl<'q> Send for ProcessQuery<'q>
impl<'q> Sync for ProcessQuery<'q>
impl<'q> Unpin for ProcessQuery<'q>
impl<'q> UnsafeUnpin for ProcessQuery<'q>
impl<'q> UnwindSafe for ProcessQuery<'q>
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