Struct fisher_processor::ProcessorApi [] [src]

pub struct ProcessorApi<S: ScriptsRepositoryTrait> { /* fields omitted */ }

This struct allows you to interact with a running processor.

Trait Implementations

impl<S: Debug + ScriptsRepositoryTrait> Debug for ProcessorApi<S>
[src]

Formats the value using the given formatter.

impl<S: Clone + ScriptsRepositoryTrait> Clone for ProcessorApi<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: ScriptsRepositoryTrait> ProcessorApiTrait<S> for ProcessorApi<S>
[src]

Queue a new job into the processor.

Get some insights about the health of the processor.

Execute periodic cleanup tasks on the processor.

Lock the processor, preventing new jobs to be run.

Unlock the processor, allowing new jobs to be run.