pub trait FunctionResult { }
Expand description

A utility trait that represents the return value of functions and filters.

It’s implemented for the following types:

  • Rv where Rv implements Into<Value>
  • Result<Rv, Error> where Rv implements Into<Value>

The equivalent for test functions is TestResult.

Implementations on Foreign Types§

source§

impl<I> FunctionResult for Result<I, Error>
where I: Into<Value>,

Implementors§

source§

impl<I> FunctionResult for I
where I: Into<Value>,