[−][src]Trait email_format::TryFrom
Attempt to construct Self
via a conversion (borrowed from rust std
)
This TryFrom trait is defined in the rust std library but is behind a feature gate. We place it here so that people using stable compilers can still use our crate. In the future, the std trait should be used.
Associated Types
type Error
The type returned in the event of a conversion error.
Required methods
Loading content...Implementors
impl<'a> TryFrom<&'a str> for Bcc
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Bcc, ParseError>
[src]
impl<'a> TryFrom<&'a str> for ResentBcc
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<ResentBcc, ParseError>
[src]
impl<'a> TryFrom<&'a str> for Cc
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Cc, ParseError>
[src]
impl<'a> TryFrom<&'a str> for Comments
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Comments, ParseError>
[src]
impl<'a> TryFrom<&'a str> for From
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<From, ParseError>
[src]
impl<'a> TryFrom<&'a str> for InReplyTo
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<InReplyTo, ParseError>
[src]
impl<'a> TryFrom<&'a str> for Keywords
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Keywords, ParseError>
[src]
impl<'a> TryFrom<&'a str> for MessageId
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<MessageId, ParseError>
[src]
impl<'a> TryFrom<&'a str> for OrigDate
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<OrigDate, ParseError>
[src]
impl<'a> TryFrom<&'a str> for Received
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Received, ParseError>
[src]
impl<'a> TryFrom<&'a str> for References
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<References, ParseError>
[src]
impl<'a> TryFrom<&'a str> for ReplyTo
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<ReplyTo, ParseError>
[src]
impl<'a> TryFrom<&'a str> for ResentCc
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<ResentCc, ParseError>
[src]
impl<'a> TryFrom<&'a str> for ResentDate
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<ResentDate, ParseError>
[src]
impl<'a> TryFrom<&'a str> for ResentFrom
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<ResentFrom, ParseError>
[src]
impl<'a> TryFrom<&'a str> for ResentMessageId
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<ResentMessageId, ParseError>
[src]
impl<'a> TryFrom<&'a str> for ResentSender
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<ResentSender, ParseError>
[src]
impl<'a> TryFrom<&'a str> for ResentTo
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<ResentTo, ParseError>
[src]
impl<'a> TryFrom<&'a str> for Return
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Return, ParseError>
[src]
impl<'a> TryFrom<&'a str> for Sender
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Sender, ParseError>
[src]
impl<'a> TryFrom<&'a str> for Subject
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Subject, ParseError>
[src]
impl<'a> TryFrom<&'a str> for To
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<To, ParseError>
[src]
impl<'a> TryFrom<&'a str> for Body
[src]
type Error = ParseError
fn try_from(input: &'a str) -> Result<Body, ParseError>
[src]
impl<'a> TryFrom<Mailbox> for ResentSender
[src]
type Error = ParseError
fn try_from(input: Mailbox) -> Result<ResentSender, ParseError>
[src]
impl<'a> TryFrom<Mailbox> for Sender
[src]
type Error = ParseError
fn try_from(input: Mailbox) -> Result<Sender, ParseError>
[src]
impl<'a> TryFrom<Path> for Return
[src]
type Error = ParseError
fn try_from(input: Path) -> Result<Return, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Bcc
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Bcc, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for ResentBcc
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<ResentBcc, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Cc
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Cc, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Comments
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Comments, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for From
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<From, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for InReplyTo
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<InReplyTo, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Keywords
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Keywords, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for MessageId
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<MessageId, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for OrigDate
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<OrigDate, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Received
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Received, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for References
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<References, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for ReplyTo
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<ReplyTo, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for ResentCc
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<ResentCc, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for ResentDate
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<ResentDate, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for ResentFrom
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<ResentFrom, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for ResentMessageId
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<ResentMessageId, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for ResentSender
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<ResentSender, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for ResentTo
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<ResentTo, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Return
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Return, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Sender
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Sender, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Subject
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Subject, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for To
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<To, ParseError>
[src]
impl<'a> TryFrom<&'a [u8]> for Body
[src]
type Error = ParseError
fn try_from(input: &'a [u8]) -> Result<Body, ParseError>
[src]
impl<'a> TryFrom<(ReceivedTokens, DateTime)> for Received
[src]
type Error = ParseError
fn try_from(input: (ReceivedTokens, DateTime)) -> Result<Received, ParseError>
[src]
impl<'a> TryFrom<(FieldName, Unstructured)> for OptionalField
[src]
type Error = ParseError
fn try_from(
input: (FieldName, Unstructured)
) -> Result<OptionalField, ParseError>
[src]
input: (FieldName, Unstructured)
) -> Result<OptionalField, ParseError>