pub trait ValidateWith<'c, V> {
    type Output;
    type Context: 'c + Copy;

    fn validate_with_args(&self, v: &mut V, ctxt: Self::Context) -> Self::Output;

    fn validate_with(&self, v: &mut V) -> Self::Output
    where
        Self::Context: Unit
, { ... } fn validate_with_default(&self, v: &mut V) -> Self::Output
    where
        Self::Context: Default
, { ... } }

Required Associated Types

Required Methods

Provided Methods

Implementors