Enum brokkr::WorkerStatus [−][src]
pub enum WorkerStatus { Idle, Busy, }
Possible statuses of a Worker
process.
Variants
Idle
The worker is waiting for jobs to be available.
Busy
The worker is processing a job.
Trait Implementations
impl Debug for WorkerStatus
[src]
impl Debug for WorkerStatus
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for WorkerStatus
[src]
impl Copy for WorkerStatus
impl Clone for WorkerStatus
[src]
impl Clone for WorkerStatus
fn clone(&self) -> WorkerStatus
[src]
fn clone(&self) -> WorkerStatus
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for WorkerStatus
impl Send for WorkerStatus
impl Sync for WorkerStatus
impl Sync for WorkerStatus