Struct apalis_core::worker::ready::ReadyWorker
source · pub struct ReadyWorker<Stream, Service> { /* private fields */ }Expand description
A worker that is ready to consume jobs
Trait Implementations§
source§impl<Stream, Service> Debug for ReadyWorker<Stream, Service>
impl<Stream, Service> Debug for ReadyWorker<Stream, Service>
source§impl<Strm: Unpin + Send + Stream<Item = Result<Option<Req>, E>> + 'static, Serv: Service<Req, Future = Fut> + Send + 'static, J: Job + 'static, E: 'static + Send + Error + Sync, Req: Send + HasJobContext, Fut: Future + Send + 'static> Worker<J> for ReadyWorker<Strm, Serv>where
<Serv as Service<Req>>::Error: Debug,
impl<Strm: Unpin + Send + Stream<Item = Result<Option<Req>, E>> + 'static, Serv: Service<Req, Future = Fut> + Send + 'static, J: Job + 'static, E: 'static + Send + Error + Sync, Req: Send + HasJobContext, Fut: Future + Send + 'static> Worker<J> for ReadyWorker<Strm, Serv>where <Serv as Service<Req>>::Error: Debug,
Auto Trait Implementations§
impl<Stream, Service> !RefUnwindSafe for ReadyWorker<Stream, Service>
impl<Stream, Service> Send for ReadyWorker<Stream, Service>where Service: Send, Stream: Send,
impl<Stream, Service> !Sync for ReadyWorker<Stream, Service>
impl<Stream, Service> Unpin for ReadyWorker<Stream, Service>where Service: Unpin, Stream: Unpin,
impl<Stream, Service> !UnwindSafe for ReadyWorker<Stream, Service>
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