pub struct WorkerClient { /* private fields */ }
Implementations§
Source§impl WorkerClient
impl WorkerClient
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<()>
pub async fn ping(&self) -> Result<String>
pub async fn start( &self, name: String, config: Config, run_id: RunId, ) -> Result<Result<(), WorkerError>>
pub async fn get_data(&self) -> Result<WorkerData>
pub async fn get_run_status(&self, id: RunId) -> Result<RunInfo>
Trait Implementations§
Source§impl ClientTrait for WorkerClient
impl ClientTrait for WorkerClient
Source§impl Clone for WorkerClient
impl Clone for WorkerClient
Source§fn clone(&self) -> WorkerClient
fn clone(&self) -> WorkerClient
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 WorkerClient
impl !RefUnwindSafe for WorkerClient
impl Send for WorkerClient
impl Sync for WorkerClient
impl Unpin for WorkerClient
impl !UnwindSafe for WorkerClient
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