pub enum AppSelector {
Pid(i32),
BundleId(String),
Name(String),
Path(PathBuf),
}Expand description
How the caller named an application.
Variants§
Pid(i32)
Process id.
BundleId(String)
Bundle identifier such as com.apple.TextEdit.
Name(String)
Localized name. May contain quotes and spaces.
Path(PathBuf)
Filesystem path of a .app bundle or an executable.
Trait Implementations§
Source§impl Clone for AppSelector
impl Clone for AppSelector
Source§impl Debug for AppSelector
impl Debug for AppSelector
impl Eq for AppSelector
Source§impl PartialEq for AppSelector
impl PartialEq for AppSelector
impl StructuralPartialEq for AppSelector
Auto Trait Implementations§
impl Freeze for AppSelector
impl RefUnwindSafe for AppSelector
impl Send for AppSelector
impl Sync for AppSelector
impl Unpin for AppSelector
impl UnsafeUnpin for AppSelector
impl UnwindSafe for AppSelector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.