Struct email::rfc2045::Rfc2045Parser [−][src]
pub struct Rfc2045Parser<'s> { /* fields omitted */ }
Parser over RFC 2045 style headers.
Things of the style value; param1=foo; param2="bar"
Methods
impl<'s> Rfc2045Parser<'s>
[src]
impl<'s> Rfc2045Parser<'s>
pub fn new(s: &str) -> Rfc2045Parser
[src]
pub fn new(s: &str) -> Rfc2045Parser
Create a new parser over s
pub fn consume_all(&mut self) -> (String, HashMap<String, String>)
[src]
pub fn consume_all(&mut self) -> (String, HashMap<String, String>)
Consume up to all of the input into the value and a hashmap over parameters to values.
Auto Trait Implementations
impl<'s> Send for Rfc2045Parser<'s>
impl<'s> Send for Rfc2045Parser<'s>
impl<'s> Sync for Rfc2045Parser<'s>
impl<'s> Sync for Rfc2045Parser<'s>