pub struct Rustup {}
Implementations§
Source§impl Rustup
impl Rustup
pub fn new() -> Self
pub fn set_default_toolchain(&self, toolchain: &str) -> Result<(), Error>
pub fn install_toolchains(&self, toolchains: Vec<String>) -> Result<(), Error>
pub fn install_components(&self, components: Vec<String>) -> Result<(), Error>
pub fn add_targets(&self, targets: Vec<String>) -> Result<(), Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rustup
impl RefUnwindSafe for Rustup
impl Send for Rustup
impl Sync for Rustup
impl Unpin 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