Struct golem_cli::clients::template::TemplateClientLive
source · pub struct TemplateClientLive<C: TemplateClient + Sync + Send> {
pub client: C,
}
Fields§
§client: C
Trait Implementations§
source§impl<C: Clone + TemplateClient + Sync + Send> Clone for TemplateClientLive<C>
impl<C: Clone + TemplateClient + Sync + Send> Clone for TemplateClientLive<C>
source§fn clone(&self) -> TemplateClientLive<C>
fn clone(&self) -> TemplateClientLive<C>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<C: TemplateClient + Sync + Send> TemplateClient for TemplateClientLive<C>
impl<C: TemplateClient + Sync + Send> TemplateClient for TemplateClientLive<C>
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,
path: 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,
path: PathBufOrStdin
) -> Pin<Box<dyn Future<Output = Result<TemplateView, GolemError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<C> RefUnwindSafe for TemplateClientLive<C>where
C: RefUnwindSafe,
impl<C> Send for TemplateClientLive<C>
impl<C> Sync for TemplateClientLive<C>
impl<C> Unpin for TemplateClientLive<C>where
C: Unpin,
impl<C> UnwindSafe for TemplateClientLive<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