pub struct Executable<T: Task> {
    pub task: T,
    /* private fields */
}
Expand description

The wrapped task itself

Fields§

§task: T

Implementations§

Initialize the executable.

Configures the io of this executable. Ran after the task is initialized.

Add an up-to-date check

Trait Implementations§

Gets the total ordering associated with the task. This includes all types of ordering, including those that aren’t strict dependencies. Read more
Gets the tasks that this task depends on
Formats the value using the given formatter. Read more
A way of identifying dependencies
The type of the dependency
Try to resolve a dependency in a registry. The cache_path is somewhere to write files into if necessary.
The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Get the options declaration for this task
Try to set values from a decoder
Executes the task, with a given project
Checks if this task did work
Check if this task marked itself as up to date
Gets the group of the task
Gets the description of the task
Returns a dependency which contains the tasks which build this object.
Gets the task id
Returns a dependency which contains the tasks which build this object.

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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Add a name to this object
The alignment of pointer.
The type for initializers.
Initializes a with the given initializer. Read more
Dereferences the given pointer. Read more
Mutably dereferences the given pointer. Read more
Drops the object pointed to by the given pointer. Read more
Should always be Self
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.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more