pub enum NameMatch {
Exact,
Command,
}Expand description
Which comparison a name target uses
Variants§
Exact
The text equals the process name, the file name of its executable, or the file name of its first argument, ignoring case (the default)
Command
The text is a substring of the process name or the full command line,
ignoring case (--cmd)
Implementations§
Trait Implementations§
impl Copy for NameMatch
impl Eq for NameMatch
impl StructuralPartialEq for NameMatch
Auto Trait Implementations§
impl Freeze for NameMatch
impl RefUnwindSafe for NameMatch
impl Send for NameMatch
impl Sync for NameMatch
impl Unpin for NameMatch
impl UnsafeUnpin for NameMatch
impl UnwindSafe for NameMatch
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