pub struct WorkerSystem { /* private fields */ }Expand description
Main worker system
Implementations§
Source§impl WorkerSystem
impl WorkerSystem
pub fn new(config: WorkerConfig) -> Result<Self>
Sourcepub async fn stats(&self) -> Result<QueueStats>
pub async fn stats(&self) -> Result<QueueStats>
Get queue statistics
Auto Trait Implementations§
impl Freeze for WorkerSystem
impl !RefUnwindSafe for WorkerSystem
impl Send for WorkerSystem
impl Sync for WorkerSystem
impl Unpin for WorkerSystem
impl !UnwindSafe for WorkerSystem
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