Skip to main content

FunctionResult

Trait FunctionResult 

Source
pub trait FunctionResult {
    // Required method
    fn into_result(self) -> Result<Value, Error>;
}
Expand description

The trait that automatically converts a value into a TeraResult<Value>

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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>,