Trait mz_sql::session::vars::constraints::DynDomainConstraint
source · pub trait DynDomainConstraint:
Debug
+ Send
+ Sync
+ 'static {
// Required method
fn check(&self, var: &dyn Var, v: &dyn Value) -> Result<(), VarError>;
}
Expand description
A type erased version of DomainConstraint
that we can reference on a VarDefinition
.