Skip to main content

Verify

Type Alias Verify 

Source
pub type Verify<'a> = dyn Fn(&str, &Value) -> Result<()> + 'a;
Expand description

Checks a saved value, by its key, as the session’s reader would read it: an error when its type is known and the value does not decode to it. A key whose type is unknown, such as one of a plugin that is not installed, is kept as it is and must pass.