[][src]Struct rbatis::engine::runtime::RbatisEngine

pub struct RbatisEngine {
    pub opt_map: OptMap<'static>,
}

the express engine for exe code on runtime

Fields

opt_map: OptMap<'static>

Implementations

impl RbatisEngine[src]

pub fn new() -> Self[src]

pub fn eval(&self, expr: &str, arg: &Value) -> Result<Value, Error>[src]

eval express with arg value,if cache have value it will no run parser expr.

pub fn eval_no_cache(
    &self,
    lexer_arg: &str,
    arg: &Value
) -> Result<Value, Error>
[src]

no cache mode to run engine

Trait Implementations

impl Clone for RbatisEngine[src]

impl Debug for RbatisEngine[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,