pub struct CoordinatorClient { /* private fields */ }
Implementations§
Source§impl CoordinatorClient
impl CoordinatorClient
pub async fn wait(&self)
pub async fn get_close_receiver(&self) -> Option<Receiver<()>>
pub async fn upload_scenario( &self, name: String, content: Vec<u8>, ) -> Result<Result<(), CoordinatorError>>
pub async fn start( &self, name: String, workers_number: usize, ) -> Result<Result<(RunId, Vec<String>), CoordinatorError>>
pub async fn list_workers(&self) -> Result<Vec<String>>
pub async fn get_run_status( &self, id: RunId, ) -> Result<Option<HashMap<String, RunInfo>>>
Trait Implementations§
Source§impl ClientTrait for CoordinatorClient
impl ClientTrait for CoordinatorClient
Source§impl Clone for CoordinatorClient
impl Clone for CoordinatorClient
Source§fn clone(&self) -> CoordinatorClient
fn clone(&self) -> CoordinatorClient
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 moreAuto Trait Implementations§
impl Freeze for CoordinatorClient
impl !RefUnwindSafe for CoordinatorClient
impl Send for CoordinatorClient
impl Sync for CoordinatorClient
impl Unpin for CoordinatorClient
impl !UnwindSafe for CoordinatorClient
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