pub struct JobManagementApiClient { /* private fields */ }
Implementations§
Source§impl JobManagementApiClient
impl JobManagementApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl JobManagementApi for JobManagementApiClient
impl JobManagementApi for JobManagementApiClient
Source§fn cancel_job<'life0, 'async_trait>(
&'life0 self,
params: CancelJobParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CancelJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cancel_job<'life0, 'async_trait>(
&'life0 self,
params: CancelJobParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<CancelJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Stop the given job immediately. If the job is in the ‘Active’ state, the job will be canceled after completing the current task. Vault accounts and Wallets that are already created will not be affected.
Source§fn continue_job<'life0, 'async_trait>(
&'life0 self,
params: ContinueJobParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<ContinueJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn continue_job<'life0, 'async_trait>(
&'life0 self,
params: ContinueJobParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<ContinueJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Continue the given paused job.
Source§fn get_job<'life0, 'async_trait>(
&'life0 self,
params: GetJobParams,
) -> Pin<Box<dyn Future<Output = Result<Job, Error<GetJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_job<'life0, 'async_trait>(
&'life0 self,
params: GetJobParams,
) -> Pin<Box<dyn Future<Output = Result<Job, Error<GetJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get an object describing the given job
Source§fn get_job_tasks<'life0, 'async_trait>(
&'life0 self,
params: GetJobTasksParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<Task>, Error<GetJobTasksError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_job_tasks<'life0, 'async_trait>(
&'life0 self,
params: GetJobTasksParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<Task>, Error<GetJobTasksError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Return a list of tasks for given job
Source§fn get_jobs<'life0, 'async_trait>(
&'life0 self,
params: GetJobsParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<Job>, Error<GetJobsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_jobs<'life0, 'async_trait>(
&'life0 self,
params: GetJobsParams,
) -> Pin<Box<dyn Future<Output = Result<Vec<Job>, Error<GetJobsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get an array of objects including all active, paused, canceled, and complete jobs in a workspace.
Source§fn pause_job<'life0, 'async_trait>(
&'life0 self,
params: PauseJobParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PauseJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn pause_job<'life0, 'async_trait>(
&'life0 self,
params: PauseJobParams,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PauseJobError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Pause the given job, after the current task is done. A paused job can later be resumed by calling ‘continue’, or canceled.
Auto Trait Implementations§
impl Freeze for JobManagementApiClient
impl !RefUnwindSafe for JobManagementApiClient
impl Send for JobManagementApiClient
impl Sync for JobManagementApiClient
impl Unpin for JobManagementApiClient
impl !UnwindSafe for JobManagementApiClient
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