pub enum WatchSortKey {
Cpu,
Mem,
Pid,
Name,
}Expand description
Sort key for watch command (mirrors SortKey but with independent default)
Variants§
Cpu
Sort by CPU usage (descending)
Mem
Sort by memory usage (descending)
Pid
Sort by process ID (ascending)
Name
Sort by process name (ascending)
Trait Implementations§
Source§impl Clone for WatchSortKey
impl Clone for WatchSortKey
Source§fn clone(&self) -> WatchSortKey
fn clone(&self) -> WatchSortKey
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 WatchSortKey
impl Debug for WatchSortKey
Source§impl From<WatchSortKey> for SortKey
impl From<WatchSortKey> for SortKey
Source§fn from(key: WatchSortKey) -> Self
fn from(key: WatchSortKey) -> Self
Converts to this type from the input type.
Source§impl ValueEnum for WatchSortKey
impl ValueEnum for WatchSortKey
impl Copy for WatchSortKey
Auto Trait Implementations§
impl Freeze for WatchSortKey
impl RefUnwindSafe for WatchSortKey
impl Send for WatchSortKey
impl Sync for WatchSortKey
impl Unpin for WatchSortKey
impl UnsafeUnpin for WatchSortKey
impl UnwindSafe for WatchSortKey
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