Skip to main content

PrepareFn

Type Alias PrepareFn 

Source
pub type PrepareFn = Box<dyn Fn(&str) -> Result<PreparedWrite, InputError>>;
Expand description

Parses canonical input without mutating a model.

§Examples

(meta.prepare)("42") produces an owned write before a transaction starts.

Aliased Type§

pub struct PrepareFn(/* private fields */);