pub struct RenderService<Q, E, A, P> {
pub queue: Arc<Q>,
pub executor: Arc<E>,
pub artifacts: Arc<A>,
pub progress: Arc<P>,
}Fields§
§queue: Arc<Q>§executor: Arc<E>§artifacts: Arc<A>§progress: Arc<P>Implementations§
Source§impl<Q, E, A, P> RenderService<Q, E, A, P>
impl<Q, E, A, P> RenderService<Q, E, A, P>
pub fn new(queue: Q, executor: E, artifacts: A, progress: P) -> Self
pub async fn process_next( &self, worker_id: &WorkerId, lease_ttl: Duration, ) -> ServiceResult<ProcessNextOutcome>
Auto Trait Implementations§
impl<Q, E, A, P> Freeze for RenderService<Q, E, A, P>
impl<Q, E, A, P> RefUnwindSafe for RenderService<Q, E, A, P>
impl<Q, E, A, P> Send for RenderService<Q, E, A, P>
impl<Q, E, A, P> Sync for RenderService<Q, E, A, P>
impl<Q, E, A, P> Unpin for RenderService<Q, E, A, P>
impl<Q, E, A, P> UnsafeUnpin for RenderService<Q, E, A, P>
impl<Q, E, A, P> UnwindSafe for RenderService<Q, E, A, P>
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