pub struct ProcessEngineRegistry { /* private fields */ }Implementations§
Source§impl ProcessEngineRegistry
impl ProcessEngineRegistry
pub fn new() -> Self
pub fn with_engine(self, engine: Arc<dyn ProcessEngine>) -> Self
pub fn get(&self, kind: &str) -> Option<Arc<dyn ProcessEngine>>
pub fn require(&self, kind: &str) -> Result<Arc<dyn ProcessEngine>, PluginError>
pub fn validate_input(&self, input: &ProcessInput) -> Result<(), PluginError>
Trait Implementations§
Source§impl Clone for ProcessEngineRegistry
impl Clone for ProcessEngineRegistry
Source§fn clone(&self) -> ProcessEngineRegistry
fn clone(&self) -> ProcessEngineRegistry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ProcessEngineRegistry
impl Default for ProcessEngineRegistry
Source§fn default() -> ProcessEngineRegistry
fn default() -> ProcessEngineRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ProcessEngineRegistry
impl !UnwindSafe for ProcessEngineRegistry
impl Freeze for ProcessEngineRegistry
impl Send for ProcessEngineRegistry
impl Sync for ProcessEngineRegistry
impl Unpin for ProcessEngineRegistry
impl UnsafeUnpin for ProcessEngineRegistry
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