pub enum InspectCommand {
Active,
Scheduled,
Reserved,
Revoked,
Registered,
Stats,
QueueInfo,
Report,
Conf,
}Expand description
Inspection sub-commands
Variants§
Active
List currently executing tasks
Scheduled
List scheduled (ETA/countdown) tasks
Reserved
List reserved (prefetched) tasks
Revoked
List revoked task IDs
Registered
Get registered task types
Stats
Get worker statistics
QueueInfo
Get task queue lengths
Report
Report current state
Conf
Get configuration
Trait Implementations§
Source§impl Clone for InspectCommand
impl Clone for InspectCommand
Source§fn clone(&self) -> InspectCommand
fn clone(&self) -> InspectCommand
Returns a duplicate 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 InspectCommand
impl Debug for InspectCommand
Source§impl<'de> Deserialize<'de> for InspectCommand
impl<'de> Deserialize<'de> for InspectCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InspectCommand
impl RefUnwindSafe for InspectCommand
impl Send for InspectCommand
impl Sync for InspectCommand
impl Unpin for InspectCommand
impl UnwindSafe for InspectCommand
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