Struct continuous::testing::Encore
source · pub struct Encore { /* private fields */ }Expand description
Implementations§
source§impl Encore
impl Encore
sourcepub fn set_directory(&mut self, dir: &str) -> &mut Encore
pub fn set_directory(&mut self, dir: &str) -> &mut Encore
Set the dirname to store Vagrantfile and bootstrap.sh files
dirThe dirname
sourcepub fn get_directory(self) -> String
pub fn get_directory(self) -> String
sourcepub fn set_os(&mut self, os: &str) -> &mut Encore
pub fn set_os(&mut self, os: &str) -> &mut Encore
Set the os to install inside the vm
osThe os box to use
sourcepub fn set_memory(&mut self, memory: &str) -> &mut Encore
pub fn set_memory(&mut self, memory: &str) -> &mut Encore
Set the memory to use from the host
memoryThe host memory to use
sourcepub fn get_memory(self) -> String
pub fn get_memory(self) -> String
sourcepub fn set_cpus(&mut self, cpus: &str) -> &mut Encore
pub fn set_cpus(&mut self, cpus: &str) -> &mut Encore
Set the all cpus used by the host to run the test
cpusThe host cpus to use
sourcepub fn set_command(&mut self, command: &str) -> &mut Encore
pub fn set_command(&mut self, command: &str) -> &mut Encore
Set the command to run inside the vm
commandThe command to install and test the project
sourcepub fn get_commands(self) -> String
pub fn get_commands(self) -> String
Auto Trait Implementations§
impl RefUnwindSafe for Encore
impl Send for Encore
impl Sync for Encore
impl Unpin for Encore
impl UnwindSafe for Encore
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