Skip to main content

Validator

Type Alias Validator 

Source
pub type Validator = Arc<dyn Fn(&FrameId, &Value) -> Option<String> + Send + Sync>;
Expand description

Decides whether a saved frame may come back (its payload still exists): None when it may, else why not.

Aliased Typeยง

pub struct Validator { /* private fields */ }