Trait email_format::rfc5322::Parsable
[−]
[src]
pub trait Parsable: Sized { fn parse(input: &[u8]) -> Result<(Self, &[u8]), ParseError>; }
Required Methods
fn parse(input: &[u8]) -> Result<(Self, &[u8]), ParseError>
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
impl Parsable for VChar
impl Parsable for WSP
impl Parsable for ASCII
impl Parsable for Digit
impl Parsable for Alpha
impl Parsable for QuotedPair
impl Parsable for FWS
impl Parsable for CText
impl Parsable for CContent
impl Parsable for Comment
impl Parsable for CFWS
impl Parsable for AText
impl Parsable for Atom
impl Parsable for DotAtomText
impl Parsable for DotAtom
impl Parsable for QText
impl Parsable for QContent
impl Parsable for QuotedString
impl Parsable for Word
impl Parsable for Phrase
impl Parsable for Unstructured
impl Parsable for LocalPart
impl Parsable for DText
impl Parsable for DomainLiteral
impl Parsable for Domain
impl Parsable for AddrSpec
impl Parsable for AngleAddr
impl Parsable for DisplayName
impl Parsable for NameAddr
impl Parsable for Mailbox
impl Parsable for MailboxList
impl Parsable for GroupList
impl Parsable for Group
impl Parsable for Address
impl Parsable for AddressList
impl Parsable for Zone
impl Parsable for Second
impl Parsable for Minute
impl Parsable for Hour
impl Parsable for TimeOfDay
impl Parsable for Time
impl Parsable for Year
impl Parsable for Month
impl Parsable for Day
impl Parsable for Date
impl Parsable for DayName
impl Parsable for DayOfWeek
impl Parsable for DateTime
impl Parsable for NoFoldLiteral
impl Parsable for IdRight
impl Parsable for IdLeft
impl Parsable for MsgId
impl Parsable for ReceivedToken
impl Parsable for Path
impl Parsable for FText
impl Parsable for FieldName
impl Parsable for OrigDate
impl Parsable for From
impl Parsable for Sender
impl Parsable for ReplyTo
impl Parsable for To
impl Parsable for Cc
impl Parsable for Bcc
impl Parsable for MessageId
impl Parsable for InReplyTo
impl Parsable for References
impl Parsable for Subject
impl Parsable for Comments
impl Parsable for Keywords
impl Parsable for ResentDate
impl Parsable for ResentFrom
impl Parsable for ResentSender
impl Parsable for ResentTo
impl Parsable for ResentCc
impl Parsable for ResentBcc
impl Parsable for ResentMessageId
impl Parsable for Received
impl Parsable for Return
impl Parsable for OptionalField
impl Parsable for Trace
impl Parsable for ResentField
impl Parsable for Field
impl Parsable for ResentTraceBlock
impl Parsable for OptTraceBlock
impl Parsable for TraceBlock
impl Parsable for Fields
impl Parsable for Text
impl Parsable for Body
impl Parsable for Message
impl Parsable for Email