Enum caminos_lib::experiments::Action
source · [−]pub enum Action {
LocalAndOutput,
Local,
Output,
Slurm,
Check,
Pull,
RemoteCheck,
Push,
SlurmCancel,
Shell,
Pack,
}
Variants
LocalAndOutput
Default action of executing locally and creating the output files.
Local
Execute remaining runs locally and sequentially.
Output
Just generates the output with the available data
Slurm
Package the executions into Slurm jobs and send them to the Slurm queue system.
Check
Checks how many results it has. TODO: implement looking at slurm error files.
Pull
Bring results from the remote via sftp.
RemoteCheck
Performs a check action on the remote.
Push
Push data into the remote.
SlurmCancel
Cancel all slurm jobs owned by the experiment.
Shell
Create shell/skeleton/carcase files. This is, create a folder containing the files: main.cfg, main.od, remote. Use --source
to copy them from a existing one.
Pack
Builds up a binary.results
if it does not exists and erase all runs/run*/
.
Trait Implementations
impl Copy for Action
impl StructuralPartialEq for Action
Auto Trait Implementations
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more