pub struct RustupToolchains<'r> { /* private fields */ }
Expand description

Result of rustup.toolchains()

Implementations

Gets the default toolchain by parsing rustup show active-toolchain

Gets the default toolchain by parsing rustup default

Gets all installed toolchains by parsing rustup toolchain list

Gets an installed toolchain by parsing rustup +{toolchain} show active-toolchain

Install a toolchain via rustup toolchain install ${toolchain}

Uninstall a toolchain via rustup toolchain install ${toolchain}

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.