StaticFunction

Trait StaticFunction 

Source
pub trait StaticFunction: Send + Sync {
    // Required method
    fn call(&self, arguments: Arguments) -> Result<Value>;
}

Required Methods§

Source

fn call(&self, arguments: Arguments) -> Result<Value>

Implementors§

Source§

impl<F> StaticFunction for F
where F: Fn(Arguments) -> Result<Value> + Send + Sync,