pub trait TemplateClient {
// Required methods
fn find<'life0, 'async_trait>(
&'life0 self,
name: Option<TemplateName>
) -> Pin<Box<dyn Future<Output = Result<Vec<TemplateView>, GolemError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn add<'life0, 'async_trait>(
&'life0 self,
name: TemplateName,
file: PathBufOrStdin
) -> Pin<Box<dyn Future<Output = Result<TemplateView, GolemError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn update<'life0, 'async_trait>(
&'life0 self,
id: RawTemplateId,
file: PathBufOrStdin
) -> Pin<Box<dyn Future<Output = Result<TemplateView, GolemError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}