pub enum Probe {
Path(Location),
Executable(&'static str),
UninstallEntry(&'static str),
MsixPackage(Location),
}Expand description
One way a client can be found.
Variants§
Path(Location)
A config file or directory exists. A Location::Glob matches when
any path matches.
Executable(&'static str)
An executable with this name (no extension) is on PATH. On
Windows each PATHEXT extension is tried.
UninstallEntry(&'static str)
Windows: an uninstall registry entry with this DisplayName.
MsixPackage(Location)
Windows: an MSIX package directory exists (a Location::Glob
under %LOCALAPPDATA%\Packages).
Trait Implementations§
impl Copy for Probe
impl Eq for Probe
impl StructuralPartialEq for Probe
Auto Trait Implementations§
impl Forget for Probe
impl Freeze for Probe
impl Move for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
impl UnwindSafe for Probe
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.