Trait Parse

Source
pub trait Parse {
    // Required method
    fn parse(input: &str) -> Result<Self, MessageParseError>
       where Self: Sized;
}
Expand description

A trait for types that can be directly parsed from a string input, regardless of context.

Required Methods§

Source

fn parse(input: &str) -> Result<Self, MessageParseError>
where Self: Sized,

Implementors§

Source§

impl<T: ParsePair> Parse for T