pub enum BinstallSource {
Registry,
Git(String),
Other,
}Expand description
Where cargo binstall took a crate from, which decides how to run it again.
Variants§
Registry
crates.io: cargo binstall <crate>.
Git(String)
A git repository, by its URL without the commit: cargo binstall --git <url> <crate>.
The crates that are only released on GitHub, such as the desktop apps.
Other
A local manifest, or a source this does not know.
Trait Implementations§
Source§impl Clone for BinstallSource
impl Clone for BinstallSource
Source§impl Debug for BinstallSource
impl Debug for BinstallSource
impl Eq for BinstallSource
Source§impl PartialEq for BinstallSource
impl PartialEq for BinstallSource
impl StructuralPartialEq for BinstallSource
Auto Trait Implementations§
impl Freeze for BinstallSource
impl RefUnwindSafe for BinstallSource
impl Send for BinstallSource
impl Sync for BinstallSource
impl Unpin for BinstallSource
impl UnsafeUnpin for BinstallSource
impl UnwindSafe for BinstallSource
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