Module json_job_dispatch::utils[][src]

Utilities for director-based tools.

Tools written using this crate usually have other tasks related to management of the job files. These functions are meant to be used in the tools so that these tasks are built into the tool rather than managed using external scripts.

Structs

Error

The Error type.

Enums

ErrorKind

The kind of an error.

Traits

ResultExt

Additional methods for Result, for easy interaction with this crate.

Functions

archive_queue

Archive the jobs in the given queue into a tarball in the output directory.

drop_job

Write a job to the given queue.

exit

Write an exit job to the given queue.

restart

Write a restart job to the given queue.

Type Definitions

Result

Convenient wrapper around std::Result.