Trait parse_display::FromStrFormat
source · pub trait FromStrFormat<T> {
type Err;
// Required method
fn parse(&self, s: &str) -> Result<T, Self::Err>;
// Provided method
fn regex(&self) -> Option<String> { ... }
}
Expand description
A trait to customize the parsing method.