pub struct TemplateCompiler { /* private fields */ }Expand description
Handed to crate::AsyncFunctionHandler::compile_input to compile a
handler’s Template fields at engine construction.
Wraps the same Arc<datalogic_rs::Engine> LogicCompiler uses internally,
so a compiled Template is evaluable by the engine that will run the
message. A newtype rather than a bare Arc<datalogic_rs::Engine> so fields
can be added later without changing compile_input’s signature.
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TemplateCompiler
impl !UnwindSafe for TemplateCompiler
impl Freeze for TemplateCompiler
impl Send for TemplateCompiler
impl Sync for TemplateCompiler
impl Unpin for TemplateCompiler
impl UnsafeUnpin for TemplateCompiler
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