[][src]Trait splinter::service::validation::ServiceArgValidator

pub trait ServiceArgValidator {
    fn validate(
        &self,
        args: &HashMap<String, String>
    ) -> Result<(), ServiceArgValidationError>; }

Validates the arguments for a service

Required methods

fn validate(
    &self,
    args: &HashMap<String, String>
) -> Result<(), ServiceArgValidationError>

Validate the given arguments.

Errors

Returns an ServiceArgValidationError if the implementation determines that the arguments are invalid.

Loading content...

Implementations on Foreign Types

impl ServiceArgValidator for Box<dyn ServiceArgValidator>[src]

Loading content...

Implementors

impl ServiceArgValidator for ScabbardArgValidator[src]

Loading content...