[][src]Trait turbosloth::lazy::LazyWorker

pub trait LazyWorker: Send + Sync + 'static {
    type Output;
#[must_use]    fn run<'async_trait>(
        self,
        ctx: RunContext
    ) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>>
    where
        Self: 'async_trait
; }

Associated Types

type Output

Loading content...

Required methods

#[must_use]fn run<'async_trait>(
    self,
    ctx: RunContext
) -> Pin<Box<dyn Future<Output = Self::Output> + Send + 'async_trait>> where
    Self: 'async_trait, 

Loading content...

Implementors

Loading content...