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>;
}
Expand description

Validate and deserialize characters.

Required Associated Types

Required Methods

Implementors