Enum autodep::worker::WorkerStatus
source · pub enum WorkerStatus {
Working,
Idle,
ShuttingDown,
Error,
}
Expand description
The current status of a worker
Variants§
Working
Currently computing inference
Idle
Not computing inference
ShuttingDown
In the process of shutting down
Error
In an error state
Trait Implementations§
source§impl Clone for WorkerStatus
impl Clone for WorkerStatus
source§fn clone(&self) -> WorkerStatus
fn clone(&self) -> WorkerStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WorkerStatus
impl Debug for WorkerStatus
source§impl PartialEq<WorkerStatus> for WorkerStatus
impl PartialEq<WorkerStatus> for WorkerStatus
source§fn eq(&self, other: &WorkerStatus) -> bool
fn eq(&self, other: &WorkerStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WorkerStatus
impl Serialize for WorkerStatus
impl StructuralPartialEq for WorkerStatus
Auto Trait Implementations§
impl RefUnwindSafe for WorkerStatus
impl Send for WorkerStatus
impl Sync for WorkerStatus
impl Unpin for WorkerStatus
impl UnwindSafe for WorkerStatus
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request