Struct golem_cli::template::TemplateHandlerLive
source · pub struct TemplateHandlerLive<C: TemplateClient + Send + Sync> {
pub client: C,
}
Fields§
§client: C
Trait Implementations§
source§impl<C: TemplateClient + Send + Sync> TemplateHandler for TemplateHandlerLive<C>
impl<C: TemplateClient + Send + Sync> TemplateHandler for TemplateHandlerLive<C>
fn handle<'life0, 'async_trait>(
&'life0 self,
subcommand: TemplateSubcommand
) -> Pin<Box<dyn Future<Output = Result<GolemResult, GolemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn resolve_id<'life0, 'async_trait>(
&'life0 self,
reference: TemplateIdOrName
) -> Pin<Box<dyn Future<Output = Result<RawTemplateId, GolemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<C> RefUnwindSafe for TemplateHandlerLive<C>where
C: RefUnwindSafe,
impl<C> Send for TemplateHandlerLive<C>
impl<C> Sync for TemplateHandlerLive<C>
impl<C> Unpin for TemplateHandlerLive<C>where
C: Unpin,
impl<C> UnwindSafe for TemplateHandlerLive<C>where
C: UnwindSafe,
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