pub struct Parser;Implementations§
Source§impl Parser
impl Parser
pub fn parse_mailbox_list_header(text: &[u8]) -> Result<MailboxList>
pub fn parse_mailbox_header(text: &[u8]) -> Result<Mailbox>
pub fn parse_address_list_header(text: &[u8]) -> Result<AddressList>
pub fn parse_msg_id_header(text: &[u8]) -> Result<MessageID>
pub fn parse_msg_id_header_list(text: &[u8]) -> Result<Vec<MessageID>>
pub fn parse_content_id_header(text: &[u8]) -> Result<MessageID>
pub fn parse_content_type_header(text: &[u8]) -> Result<MimeParameters>
pub fn parse_content_transfer_encoding_header( text: &[u8], ) -> Result<MimeParameters>
pub fn parse_unstructured_header(text: &[u8]) -> Result<BString>
pub fn parse_authentication_results_header( text: &[u8], ) -> Result<AuthenticationResults>
pub fn parse_arc_authentication_results_header( text: &[u8], ) -> Result<ARCAuthenticationResults>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more