Crate ordr_core

Crate ordr_core 

Source

Re-exports§

pub use serde;
pub use serde_json;

Structs§

Context
First argument of a producer function. It’s just some basic meta data (that I might later expand on) about running the node.
Error
Error type that a producer may return.
Job
Describes what needs to be done, and how to do it. Pass it to a crate::Worker to have it executed.
JobBuilder
Builds a job. Created with Job::builder(). Call .build() on it to create a Job.
Worker
Runs crate::Jobs.

Enums§

JobError
NodeState
The current state of a single node in a job.
Output
Output of running a job. Describes how and if the job was finished. Use crate::Worker::data to get the results out.

Functions§

mermaid
Builds a simple mermaid diagram of the nodes that will be executed when running this job.

Type Aliases§

Result
Return value for producers.