[−][src]Trait turbosloth::lazy::LazyWorkerObj
Required methods
fn identity(&self) -> u64
fn clone_boxed(&self) -> Box<dyn LazyWorkerObj>
fn run_boxed(
self: Box<Self>,
context: RunContext
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Any + Send + Sync>, Box<dyn Error + Send + Sync + 'static>>> + Send + 'static>>
self: Box<Self>,
context: RunContext
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Any + Send + Sync>, Box<dyn Error + Send + Sync + 'static>>> + Send + 'static>>
fn debug_name(&self) -> &'static str
Implementors
impl<T: LazyReqs, E, W> LazyWorkerObj for W where
W: LazyWorker + Clone + Hash,
W: LazyWorkerImpl<Value = T, Error = E>,
E: Into<Box<dyn Error + Sync + Send + 'static>>,
[src]
W: LazyWorker + Clone + Hash,
W: LazyWorkerImpl<Value = T, Error = E>,
E: Into<Box<dyn Error + Sync + Send + 'static>>,
fn identity(&self) -> u64
[src]
fn clone_boxed(&self) -> Box<dyn LazyWorkerObj>
[src]
fn run_boxed(
self: Box<Self>,
context: RunContext
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Any + Send + Sync>, Box<dyn Error + Send + Sync + 'static>>> + Send + 'static>>
[src]
self: Box<Self>,
context: RunContext
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn Any + Send + Sync>, Box<dyn Error + Send + Sync + 'static>>> + Send + 'static>>