Struct reedline::DefaultValidator
source · pub struct DefaultValidator;
Expand description
A default validator which checks for mismatched quotes and brackets
Trait Implementations§
source§impl Validator for DefaultValidator
impl Validator for DefaultValidator
source§fn validate(&self, line: &str) -> ValidationResult
fn validate(&self, line: &str) -> ValidationResult
The action that will handle the current buffer as a line and return the corresponding validation