pub struct Help { /* private fields */ }Expand description
The help task. Defines help for the, well, task
Trait Implementations§
Source§impl CreateTask for Help
impl CreateTask for Help
Source§fn new(
_using_id: &TaskId,
_project: &Project,
) -> Result<Help, PayloadError<ProjectError>>
fn new( _using_id: &TaskId, _project: &Project, ) -> Result<Help, PayloadError<ProjectError>>
Creates a new task. The using_id is the id of the task that’s being created.
Source§fn description() -> String
fn description() -> String
The default description for a Task
Source§fn options_declarations() -> Option<OptionDeclarations>
fn options_declarations() -> Option<OptionDeclarations>
Gets an optional flags for this task. Read more
Source§fn try_set_from_decoder(
&mut self,
decoder: &OptionsDecoder<'_>,
) -> Result<(), PayloadError<ProjectError>>
fn try_set_from_decoder( &mut self, decoder: &OptionsDecoder<'_>, ) -> Result<(), PayloadError<ProjectError>>
Try to get values from a decoder. Read more
Source§impl InitializeTask for Help
impl InitializeTask for Help
Source§fn initialize(
_task: &mut Executable<T>,
_project: &Project,
) -> Result<(), PayloadError<ProjectError>>
fn initialize( _task: &mut Executable<T>, _project: &Project, ) -> Result<(), PayloadError<ProjectError>>
Initialize tasks
Source§impl Task for Help
impl Task for Help
Source§fn task_action(
task: &mut Executable<Help>,
project: &Project,
) -> Result<(), PayloadError<BuildException>>
fn task_action( task: &mut Executable<Help>, project: &Project, ) -> Result<(), PayloadError<BuildException>>
The action that the task performs
Source§impl TaskIO for Help
impl TaskIO for Help
Source§fn configure_io(
_task: &mut Executable<T>,
) -> Result<(), PayloadError<ProjectError>>
fn configure_io( _task: &mut Executable<T>, ) -> Result<(), PayloadError<ProjectError>>
During the initialization of the task, configures the inputs and outputs of the task.
Source§fn recover_outputs(
&mut self,
_output: &Output,
) -> Result<(), PayloadError<ProjectError>>
fn recover_outputs( &mut self, _output: &Output, ) -> Result<(), PayloadError<ProjectError>>
Recovers outputs from previous run if up-to-date
Auto Trait Implementations§
impl Freeze for Help
impl RefUnwindSafe for Help
impl Send for Help
impl Sync for Help
impl Unpin for Help
impl UnwindSafe for Help
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
Source§impl<T> InstanceOf for T
impl<T> InstanceOf for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more