pub struct InstallTarget(pub &'static str);Expand description
This task installs a target with the given name using rustup, if necessary.
Tuple Fields§
§0: &'static strTrait Implementations§
Source§impl Task for InstallTarget
impl Task for InstallTarget
Source§type Context = ()
type Context = ()
The type of context that is passed to this task, processed and
subsequently returned by this task.
Source§fn verb(&self) -> &str
fn verb(&self) -> &str
The verb that describes this task (e.g. “Launching” or “Building”) that
is shown to the user while the task is running.
Source§fn message(&self) -> &str
fn message(&self) -> &str
The message that is shown to the user alongside the verb. This usually
starts with a lowercase letter (e.g. “[Generating] source tree”).
Auto Trait Implementations§
impl Freeze for InstallTarget
impl RefUnwindSafe for InstallTarget
impl Send for InstallTarget
impl Sync for InstallTarget
impl Unpin for InstallTarget
impl UnwindSafe for InstallTarget
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