pub struct Experiment { /* private fields */ }Implementations§
Source§impl Experiment
impl Experiment
pub fn create_or_get(uri_or_name: &str) -> Result<Self>
pub fn get_by_uri(uri: &str) -> Result<Self>
pub fn uuid(&self) -> &str
pub fn name(&self) -> &str
pub fn add_job(&mut self, job: &Job) -> Result<()>
pub fn get_jobs( &mut self, count: usize, status: Option<&str>, ) -> Result<Vec<Job>>
pub fn wait(&mut self) -> Result<()>
pub fn show_experiments(count: usize) -> Result<Vec<ExperimentDict>>
Auto Trait Implementations§
impl Freeze for Experiment
impl !RefUnwindSafe for Experiment
impl Send for Experiment
impl Sync for Experiment
impl Unpin for Experiment
impl UnsafeUnpin for Experiment
impl !UnwindSafe for Experiment
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