pub struct LogicPearlEngine { /* private fields */ }Implementations§
Source§impl LogicPearlEngine
impl LogicPearlEngine
pub fn from_path(path: impl AsRef<Path>) -> Result<Self>
pub fn from_artifact_path(path: impl AsRef<Path>) -> Result<Self>
pub fn from_pipeline_path(path: impl AsRef<Path>) -> Result<Self>
pub fn from_path_with_plugin_policy( path: impl AsRef<Path>, plugin_policy: PluginExecutionPolicy, ) -> Result<Self>
pub fn from_pipeline_path_with_plugin_policy( path: impl AsRef<Path>, plugin_policy: PluginExecutionPolicy, ) -> Result<Self>
pub fn kind(&self) -> EngineKind
pub fn source_path(&self) -> &Path
pub fn run_single_json(&self, input: &Value) -> Result<EngineSingleExecution>
pub fn run_batch_json(&self, inputs: &[Value]) -> Result<EngineBatchExecution>
pub fn run_json_value(&self, input: &Value) -> Result<EngineExecutionEnvelope>
Trait Implementations§
Source§impl Clone for LogicPearlEngine
impl Clone for LogicPearlEngine
Source§fn clone(&self) -> LogicPearlEngine
fn clone(&self) -> LogicPearlEngine
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 LogicPearlEngine
impl RefUnwindSafe for LogicPearlEngine
impl Send for LogicPearlEngine
impl Sync for LogicPearlEngine
impl Unpin for LogicPearlEngine
impl UnsafeUnpin for LogicPearlEngine
impl UnwindSafe for LogicPearlEngine
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