pub struct Engine<'a> { /* private fields */ }Implementations§
Source§impl<'a> Engine<'a>
impl<'a> Engine<'a>
pub fn new(data_logic: &'a DataLogic) -> Self
pub fn add_workflow(&mut self, workflow: &Workflow)
pub fn register_function( &mut self, id: String, handler: Box<dyn FunctionHandler>, )
pub fn process_message<'m>(&'m self, message: &mut Message<'m>)where
'a: 'm,
Auto Trait Implementations§
impl<'a> Freeze for Engine<'a>
impl<'a> !RefUnwindSafe for Engine<'a>
impl<'a> !Send for Engine<'a>
impl<'a> !Sync for Engine<'a>
impl<'a> Unpin for Engine<'a>
impl<'a> !UnwindSafe for Engine<'a>
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