pub struct Worker<E: JobExecutor> { /* private fields */ }Implementations§
Source§impl<E: JobExecutor> Worker<E>
impl<E: JobExecutor> Worker<E>
pub fn spawn( executor: Arc<E>, rate_limiter: RateLimiter, capacity: Option<usize>, ) -> QueueHandle
Auto Trait Implementations§
impl<E> Freeze for Worker<E>
impl<E> !RefUnwindSafe for Worker<E>
impl<E> Send for Worker<E>
impl<E> Sync for Worker<E>
impl<E> Unpin for Worker<E>
impl<E> !UnwindSafe for Worker<E>
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