rocket_dyn_templates::minijinja::tests

Trait TestResult

Source
pub trait TestResult { }
Expand description

A utility trait that represents the return value of filters.

It’s implemented for the following types:

  • bool
  • Result<bool, Error>

The equivalent for filters or functions is FunctionResult.

Implementations on Foreign Types§

Source§

impl TestResult for Result<bool, Error>

Source§

impl TestResult for bool

Implementors§