Skip to main content

Module background

Module background 

Source
Expand description

Local background job state and log spooling.

The core types are:

  • JobState: per-job state (pid, local log path, exit code, status)
  • JobRegistry: thread-safe registry for active + recently completed jobs
  • LocalLogSpooler: configured or per-user local spool directory management

Re-exports§

pub use job::JobState;
pub use job::JobStatus;
pub use job::SharedJobState;
pub use registry::JobRegistry;
pub use spooler::LocalLogSpooler;
pub use stream::OutputStreamer;

Modules§

job
registry
spooler
stream

Enums§

BackgroundError
Background subsystem errors.

Type Aliases§

Result