pub enum BinarySource {
Show 21 variants
System,
Homebrew,
HomebrewCask,
Cargo,
Pip,
Pipx,
Uv,
Npm,
Pyenv,
Rbenv,
Rvm,
Nvm,
Fnm,
Volta,
Rustup,
Sdkman,
Gvm,
Mise,
Asdf,
Manual,
Unknown,
}Expand description
Binary source - where a binary was installed from
Variants§
System
System binary (/usr/bin/, /bin/)
Homebrew
Homebrew (Apple Silicon: /opt/homebrew/, Intel: /usr/local/Cellar/)
HomebrewCask
Homebrew cask
Cargo
Cargo/Rust (~/.cargo/bin/)
Pip
pip install –user
Pipx
pipx (~/.local/pipx/)
Uv
uv installed tools (~/.local/bin/ from uv)
Npm
npm global packages
Pyenv
pyenv (~/.pyenv/)
Rbenv
rbenv (~/.rbenv/)
Rvm
rvm (~/.rvm/)
Nvm
nvm (~/.nvm/)
Fnm
fnm (Fast Node Manager)
Volta
volta (~/.volta/)
Rustup
rustup (~/.rustup/)
Sdkman
sdkman (~/.sdkman/)
Gvm
gvm (~/.gvm/)
Mise
mise (~/.local/share/mise/)
Asdf
asdf (~/.asdf/)
Manual
Manual installation
Unknown
Unknown source
Implementations§
Source§impl BinarySource
impl BinarySource
Trait Implementations§
Source§impl Clone for BinarySource
impl Clone for BinarySource
Source§fn clone(&self) -> BinarySource
fn clone(&self) -> BinarySource
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 BinarySource
impl Debug for BinarySource
Source§impl Hash for BinarySource
impl Hash for BinarySource
Source§impl PartialEq for BinarySource
impl PartialEq for BinarySource
impl Copy for BinarySource
impl Eq for BinarySource
impl StructuralPartialEq for BinarySource
Auto Trait Implementations§
impl Freeze for BinarySource
impl RefUnwindSafe for BinarySource
impl Send for BinarySource
impl Sync for BinarySource
impl Unpin for BinarySource
impl UnwindSafe for BinarySource
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more