pub struct PipelineExecutor { /* private fields */ }Implementations§
Source§impl PipelineExecutor
impl PipelineExecutor
pub fn cwd(self, path: String) -> Result<Self, Box<EvalAltResult>>
pub fn timeout(self, timeout: INT) -> Result<Self, Box<EvalAltResult>>
pub fn allow_exit_codes(self, codes: Array) -> Result<Self, Box<EvalAltResult>>
pub fn run(self) -> Result<RhaiMap, Box<EvalAltResult>>
pub fn run_stream( self, context: &NativeCallContext<'_>, stdout_cb: Option<FnPtr>, stderr_cb: Option<FnPtr>, ) -> Result<RhaiMap, Box<EvalAltResult>>
Trait Implementations§
Source§impl Clone for PipelineExecutor
impl Clone for PipelineExecutor
Source§fn clone(&self) -> PipelineExecutor
fn clone(&self) -> PipelineExecutor
Returns a duplicate 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 PipelineExecutor
impl RefUnwindSafe for PipelineExecutor
impl Send for PipelineExecutor
impl Sync for PipelineExecutor
impl Unpin for PipelineExecutor
impl UnwindSafe for PipelineExecutor
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