pub enum TaskResult { Success, Failure, }
Indicates the manner in which a task exited.
A task that completes without failing is considered to exit successfully. Supervised ancestors and linked siblings may yet fail after this task succeeds. Also note that in such a case, it may be nondeterministic whether linked failure or successful exit happen first.
If you wish for this result's delivery to block until all linked and/or children tasks complete, recommend using a result future.
impl Eq for TaskResult
fn eq(&self, __arg_0: &TaskResult) -> bool
fn ne(&self, __arg_0: &TaskResult) -> bool
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).