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

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

Loading content...

Required methods

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

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

Loading content...

Implementors

Loading content...