pub struct Parabuilder { /* private fields */ }Implementations§
Source§impl Parabuilder
impl Parabuilder
pub fn new<P, Q, R, S>( project_path: P, workspaces_path: Q, template_file: R, target_executable_file: S, ) -> Self
pub fn init_bash_script(self, init_bash_script: &str) -> Self
pub fn compile_bash_script(self, compile_bash_script: &str) -> Self
pub fn build_workers(self, build_workers: usize) -> Self
pub fn run_workers(self, run_workers: isize) -> Self
pub fn run_workers_exclusive(self) -> Self
pub fn run_method(self, run_method: RunMethod) -> Self
pub fn run_func( self, run_func: fn(_: &PathBuf, _: &PathBuf, _: &JsonValue, _: &mut JsonValue) -> Result<(), Box<dyn Error>>, ) -> Self
pub fn compilation_error_handling_method( self, compilation_error_handling_method: CompliationErrorHandlingMethod, ) -> Self
pub fn auto_gather_array_data(self, auto_gather_array_data: bool) -> Self
pub fn set_datas(&mut self, datas: Vec<JsonValue>) -> Result<(), Box<dyn Error>>
pub fn get_data_queue_sender( &mut self, ) -> Result<Sender<(usize, JsonValue)>, Box<dyn Error>>
pub fn init_workspace(&self) -> Result<(), Box<dyn Error>>
pub fn run(&self) -> Result<(JsonValue, Vec<JsonValue>), Box<dyn Error>>
Auto Trait Implementations§
impl Freeze for Parabuilder
impl RefUnwindSafe for Parabuilder
impl Send for Parabuilder
impl Sync for Parabuilder
impl Unpin for Parabuilder
impl UnwindSafe for Parabuilder
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