Struct golem_client::worker::WorkerLive
source · pub struct WorkerLive {
pub base_url: Url,
pub allow_insecure: bool,
}
Fields§
§base_url: Url
§allow_insecure: bool
Trait Implementations§
source§impl Clone for WorkerLive
impl Clone for WorkerLive
source§fn clone(&self) -> WorkerLive
fn clone(&self) -> WorkerLive
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 Debug for WorkerLive
impl Debug for WorkerLive
source§impl Worker for WorkerLive
impl Worker for WorkerLive
fn get_worker_by_id<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
worker_id: &'life1 str,
authorization: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<VersionedWorkerId, WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn launch_new_worker<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
template_id: &'life1 str,
field0: WorkerCreationRequest,
authorization: &'life2 str
) -> Pin<Box<dyn Future<Output = Result<VersionedWorkerId, WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_worker<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
template_id: &'life1 str,
worker_name: &'life2 str,
authorization: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<(), WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn get_invocation_key<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
template_id: &'life1 str,
worker_name: &'life2 str,
authorization: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<InvocationKey, WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn invoke_and_await_function<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'life6, 'async_trait>(
&'life0 self,
template_id: &'life1 str,
worker_name: &'life2 str,
invocation_key: &'life3 str,
function: &'life4 str,
calling_convention: Option<&'life5 str>,
field0: InvokeParameters,
authorization: &'life6 str
) -> Pin<Box<dyn Future<Output = Result<InvokeResult, WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
'life6: 'async_trait,
fn invoke_function<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
template_id: &'life1 str,
worker_name: &'life2 str,
function: &'life3 str,
field0: InvokeParameters,
authorization: &'life4 str
) -> Pin<Box<dyn Future<Output = Result<(), WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn complete_promise<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
template_id: &'life1 str,
worker_name: &'life2 str,
field0: CompleteParameters,
authorization: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<bool, WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn interrupt_worker<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
template_id: &'life1 str,
worker_name: &'life2 str,
recover_immediately: Option<bool>,
authorization: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<(), WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn get_worker_metadata<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
template_id: &'life1 str,
worker_name: &'life2 str,
authorization: &'life3 str
) -> Pin<Box<dyn Future<Output = Result<WorkerMetadata, WorkerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for WorkerLive
impl Send for WorkerLive
impl Sync for WorkerLive
impl Unpin for WorkerLive
impl UnwindSafe for WorkerLive
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