Trait email_format::rfc5322::Parsable [] [src]

pub trait Parsable: Sized {
    fn parse(input: &[u8]) -> Result<(Self, &[u8]), ParseError>;
}

Required Methods

Parse the object off of the beginning of the input. If found, returns Some object, and a slice containing the remainer of the input.

Implementors