pub struct Rustup;Expand description
rustup, Rust’s official toolchain manager.
Trait Implementations§
Source§impl Dependency for Rustup
impl Dependency for Rustup
fn is_installed(&self) -> Result<(), Error>
Source§fn installation_instructions(&self) -> Cow<'_, str>
fn installation_instructions(&self) -> Cow<'_, str>
A user-facing message explaining how to install this dependency
if it’s missing.
Source§fn is_auto_installable(&self) -> bool
fn is_auto_installable(&self) -> bool
Returns
true if the dependency can be installed without
the user’s intervention.fn auto_install(&self) -> Result<(), Error>
Auto Trait Implementations§
impl Freeze for Rustup
impl RefUnwindSafe for Rustup
impl Send for Rustup
impl Sync for Rustup
impl Unpin for Rustup
impl UnsafeUnpin for Rustup
impl UnwindSafe for Rustup
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