Module mcai_worker_sdk::prelude [−][src]
Re-exports
pub use crate::job::Job;
pub use crate::message::publish_job_progression;
pub use crate::message_exchange::rabbitmq::*;
pub use crate::message_exchange::ExternalExchange;
pub use crate::parameter::MediaSegment;
pub use crate::parameter::MediaSegments;
pub use crate::parameter::Parameter;
pub use crate::parameter::ParameterValue;
pub use crate::parameter::Requirement;
pub use crate::processor::Processor;
pub use crate::McaiChannel;
pub use crate::MessageEvent;
Macros
Logs a message at the debug level.
Logs a message at the error level.
Logs a message at the info level.
Logs a message at the trace level.
Logs a message at the warn level.
Structs
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
A mutual exclusion primitive useful for protecting shared data
Hardware information where the worker is running
Represents a version number conforming to the semantic versioning scheme.
Structure that contains configuration for that worker
Container to generate the status message for the worker
Enums
Internal error status to manage process errors
Message to start actions on the worker itself
Message from the Worker to the Message Exchange
Worker activity mode
Traits
A type which can be described as a JSON Schema document.
Functions
Function to start a worker