Struct mailparsing::Parser
source · pub struct Parser;
Implementations§
source§impl Parser
impl Parser
pub fn parse_mailbox_list_header(text: &str) -> Result<MailboxList>
pub fn parse_mailbox_header(text: &str) -> Result<Mailbox>
pub fn parse_address_list_header(text: &str) -> Result<AddressList>
pub fn parse_msg_id_header(text: &str) -> Result<MessageID>
pub fn parse_msg_id_header_list(text: &str) -> Result<Vec<MessageID>>
pub fn parse_content_id_header(text: &str) -> Result<MessageID>
pub fn parse_content_type_header(text: &str) -> Result<MimeParameters>
pub fn parse_content_transfer_encoding_header( text: &str, ) -> Result<MimeParameters>
pub fn parse_unstructured_header(text: &str) -> Result<String>
pub fn parse_authentication_results_header( text: &str, ) -> Result<AuthenticationResults>
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more