Struct rain_task::Context[][src]

pub struct Context {
    pub spec: TaskSpec,
    // some fields omitted
}

State of the processed Task instance and its specification.

Fields

The call message the Context was created for.

Methods

impl Context
[src]

Sets the info.user[key] to value.

Any old value is overwriten.

Set the state of the task to failed with given message

Trait Implementations

impl Debug for Context
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Context

impl Sync for Context