Trait Validatable

Source
pub trait Validatable {
    type OnCreateError;
    type OnExecuteError;

    // Provided methods
    fn on_create(&self) -> Result<(), Self::OnCreateError> { ... }
    fn on_execute(&self) -> Result<(), Self::OnExecuteError> { ... }
}

Required Associated Types§

Provided Methods§

Implementors§