pub struct Rustup { /* private fields */ }
Expand description

Wrapper around a rustup executable that existed at least at one point.

Implementations

Get rustup from ${PATH}, if available.

Returns Err(...) if rustup --version fails.

Get rustup from a specific path, if available.

Returns Err(...) if {rustup} --version fails.

Get rustup from a specific path

This is supported on crate feature version only.

Parse rustup --version

Returns true if rustup --version still succeeds

Toolchains rustup is aware of

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.