Struct golem_cli::worker::WorkerHandlerLive
source · pub struct WorkerHandlerLive<'r, C: WorkerClient + Send + Sync, R: TemplateHandler + Send + Sync> {
pub client: C,
pub templates: &'r R,
}
Fields§
§client: C
§templates: &'r R
Trait Implementations§
source§impl<'r, C: WorkerClient + Send + Sync, R: TemplateHandler + Send + Sync> WorkerHandler for WorkerHandlerLive<'r, C, R>
impl<'r, C: WorkerClient + Send + Sync, R: TemplateHandler + Send + Sync> WorkerHandler for WorkerHandlerLive<'r, C, R>
fn handle<'life0, 'async_trait>(
&'life0 self,
subcommand: WorkerSubcommand
) -> Pin<Box<dyn Future<Output = Result<GolemResult, GolemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<'r, C, R> RefUnwindSafe for WorkerHandlerLive<'r, C, R>where
C: RefUnwindSafe,
R: RefUnwindSafe,
impl<'r, C, R> Send for WorkerHandlerLive<'r, C, R>
impl<'r, C, R> Sync for WorkerHandlerLive<'r, C, R>
impl<'r, C, R> Unpin for WorkerHandlerLive<'r, C, R>where
C: Unpin,
impl<'r, C, R> UnwindSafe for WorkerHandlerLive<'r, C, R>where
C: UnwindSafe,
R: RefUnwindSafe,
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