[][src]Trait validators::traits::ValidateChar

pub trait ValidateChar {
    type Error;
    type Output;
    fn parse_char(c: char) -> Result<Self::Output, Self::Error>;
fn validate_char(c: char) -> Result<(), Self::Error>; }

Validate and deserialize characters.

Associated Types

type Error

type Output

Loading content...

Required methods

fn parse_char(c: char) -> Result<Self::Output, Self::Error>

fn validate_char(c: char) -> Result<(), Self::Error>

Loading content...

Implementors

Loading content...