Enum json_job_dispatch::HandlerResult[][src]

pub enum HandlerResult {
    Accept,
    Defer(String),
    Reject(String),
    Fail(Box<Error>),
    Restart,
    Done,
}

Results from an event.

Variants

The event was accepted and acted upon.

The event was deferred until a later time for the given reason.

The event was rejected for the given reason.

The event failed with the given error.

The director should be restarted.

The event was the last one which should be processed.

Methods

impl HandlerResult
[src]

Combine two handler results into one.

Trait Implementations

impl Debug for HandlerResult
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl !Send for HandlerResult

impl !Sync for HandlerResult