pub struct CloudExecutor { /* private fields */ }Expand description
Cloud execution client for mur.run.
Implementations§
Source§impl CloudExecutor
impl CloudExecutor
pub fn new(api_token: String, base_url: Option<String>) -> Self
Sourcepub async fn submit(
&self,
request: &CloudRunRequest,
) -> Result<CloudRunResponse>
pub async fn submit( &self, request: &CloudRunRequest, ) -> Result<CloudRunResponse>
Submit a workflow for cloud execution.
Sourcepub async fn status(&self, execution_id: &str) -> Result<CloudRunResponse>
pub async fn status(&self, execution_id: &str) -> Result<CloudRunResponse>
Check execution status.
Sourcepub async fn upload_workflow(&self, workflow_yaml: &str) -> Result<String>
pub async fn upload_workflow(&self, workflow_yaml: &str) -> Result<String>
Upload a workflow YAML to mur.run.
Auto Trait Implementations§
impl Freeze for CloudExecutor
impl !RefUnwindSafe for CloudExecutor
impl Send for CloudExecutor
impl Sync for CloudExecutor
impl Unpin for CloudExecutor
impl UnsafeUnpin for CloudExecutor
impl !UnwindSafe for CloudExecutor
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