diff options
author | Kartikaya Gupta <kats@seldon.staktrace.com> | 2016-12-04 02:49:24 -0500 |
---|---|---|
committer | Kartikaya Gupta <kats@seldon.staktrace.com> | 2016-12-04 02:49:24 -0500 |
commit | 69f552dbcbe1d88f4813a423e99dc39e8d14e091 (patch) | |
tree | 6d392059a99a5c80116395c65100f1f4fa1a5847 | |
parent | 9f8013c21fca547fdb6058080ced55e7adc10d38 (diff) |
Update documentation
-rw-r--r-- | target/doc/implementors/core/convert/trait.From.js | 2 | ||||
-rw-r--r-- | target/doc/implementors/core/fmt/trait.Debug.js | 2 | ||||
-rw-r--r-- | target/doc/implementors/core/fmt/trait.Display.js | 2 | ||||
-rw-r--r-- | target/doc/implementors/mailparse/trait.MailHeaderMap.js | 2 | ||||
-rw-r--r-- | target/doc/implementors/std/error/trait.Error.js | 2 | ||||
-rw-r--r-- | target/doc/mailparse/enum.MailParseError.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/fn.dateparse.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/fn.parse_content_type.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/fn.parse_header.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/fn.parse_headers.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/fn.parse_mail.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/index.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/struct.MailHeader.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/struct.ParsedContentType.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/struct.ParsedMail.html | 2 | ||||
-rw-r--r-- | target/doc/mailparse/trait.MailHeaderMap.html | 2 | ||||
-rw-r--r-- | target/doc/src/mailparse/src/lib.rs.html | 82 |
17 files changed, 87 insertions, 27 deletions
diff --git a/target/doc/implementors/core/convert/trait.From.js b/target/doc/implementors/core/convert/trait.From.js index 00678ce..04e4c31 100644 --- a/target/doc/implementors/core/convert/trait.From.js +++ b/target/doc/implementors/core/convert/trait.From.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><QuotedPrintableError> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><Base64Error> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><<a class='enum' href='https://doc.rust-lang.org/nightly/collections/borrow/enum.Cow.html' title='collections::borrow::Cow'>Cow</a><'static, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>>> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><QuotedPrintableError> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><Base64Error> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><<a class='enum' href='https://doc.rust-lang.org/nightly/collections/borrow/enum.Cow.html' title='collections::borrow::Cow'>Cow</a><'static, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>>> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><QuotedPrintableError> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><Base64Error> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><<a class='enum' href='https://doc.rust-lang.org/nightly/collections/borrow/enum.Cow.html' title='collections::borrow::Cow'>Cow</a><'static, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>>> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",]; +implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><QuotedPrintableError> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><Base64Error> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><<a class='enum' href='https://doc.rust-lang.org/nightly/collections/borrow/enum.Cow.html' title='collections::borrow::Cow'>Cow</a><'static, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>>> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><QuotedPrintableError> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><Base64Error> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><<a class='enum' href='https://doc.rust-lang.org/nightly/collections/borrow/enum.Cow.html' title='collections::borrow::Cow'>Cow</a><'static, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>>> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><QuotedPrintableError> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><Base64Error> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><<a class='enum' href='https://doc.rust-lang.org/nightly/collections/borrow/enum.Cow.html' title='collections::borrow::Cow'>Cow</a><'static, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>>> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><QuotedPrintableError> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><Base64Error> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html' title='core::convert::From'>From</a><<a class='enum' href='https://doc.rust-lang.org/nightly/collections/borrow/enum.Cow.html' title='collections::borrow::Cow'>Cow</a><'static, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>>> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/core/fmt/trait.Debug.js b/target/doc/implementors/core/fmt/trait.Debug.js index 2f270d1..8dd6c50 100644 --- a/target/doc/implementors/core/fmt/trait.Debug.js +++ b/target/doc/implementors/core/fmt/trait.Debug.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a><'a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedMail.html' title='mailparse::ParsedMail'>ParsedMail</a><'a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a><'a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedMail.html' title='mailparse::ParsedMail'>ParsedMail</a><'a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a><'a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedMail.html' title='mailparse::ParsedMail'>ParsedMail</a><'a>",]; +implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a><'a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedMail.html' title='mailparse::ParsedMail'>ParsedMail</a><'a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a><'a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedMail.html' title='mailparse::ParsedMail'>ParsedMail</a><'a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a><'a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedMail.html' title='mailparse::ParsedMail'>ParsedMail</a><'a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a><'a>","impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>","impl<'a> <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html' title='core::fmt::Debug'>Debug</a> for <a class='struct' href='mailparse/struct.ParsedMail.html' title='mailparse::ParsedMail'>ParsedMail</a><'a>",]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/core/fmt/trait.Display.js b/target/doc/implementors/core/fmt/trait.Display.js index ff2d722..05113b9 100644 --- a/target/doc/implementors/core/fmt/trait.Display.js +++ b/target/doc/implementors/core/fmt/trait.Display.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",]; +implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html' title='core::fmt::Display'>Display</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/mailparse/trait.MailHeaderMap.js b/target/doc/implementors/mailparse/trait.MailHeaderMap.js index 7868a61..fc96797 100644 --- a/target/doc/implementors/mailparse/trait.MailHeaderMap.js +++ b/target/doc/implementors/mailparse/trait.MailHeaderMap.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors['mailparse'] = [];implementors['mailparse'] = [];implementors['mailparse'] = []; +implementors['mailparse'] = [];implementors['mailparse'] = [];implementors['mailparse'] = [];implementors['mailparse'] = []; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/implementors/std/error/trait.Error.js b/target/doc/implementors/std/error/trait.Error.js index 6563070..2e22de4 100644 --- a/target/doc/implementors/std/error/trait.Error.js +++ b/target/doc/implementors/std/error/trait.Error.js @@ -1,5 +1,5 @@ (function() {var implementors = {}; -implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",]; +implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",];implementors['mailparse'] = ["impl <a class='trait' href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html' title='std::error::Error'>Error</a> for <a class='enum' href='mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>",]; if (window.register_implementors) { window.register_implementors(implementors); diff --git a/target/doc/mailparse/enum.MailParseError.html b/target/doc/mailparse/enum.MailParseError.html index a7e3eb0..9b438b4 100644 --- a/target/doc/mailparse/enum.MailParseError.html +++ b/target/doc/mailparse/enum.MailParseError.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-69' class='srclink' href='../src/mailparse/src/lib.rs.html#20-33' title='goto source code'>[src]</a></span></h1> + </span><a id='src-70' class='srclink' href='../src/mailparse/src/lib.rs.html#21-34' title='goto source code'>[src]</a></span></h1> <pre class='rust enum'>pub enum MailParseError { QuotedPrintableDecodeError(QuotedPrintableError), Base64DecodeError(Base64Error), diff --git a/target/doc/mailparse/fn.dateparse.html b/target/doc/mailparse/fn.dateparse.html index 0a6a0fd..1e9b15e 100644 --- a/target/doc/mailparse/fn.dateparse.html +++ b/target/doc/mailparse/fn.dateparse.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-38' class='srclink' href='../src/mailparse/src/dateparse.rs.html#76-188' title='goto source code'>[src]</a></span></h1> + </span><a id='src-39' class='srclink' href='../src/mailparse/src/dateparse.rs.html#76-188' title='goto source code'>[src]</a></span></h1> <pre class='rust fn'>pub fn dateparse(date: &<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>) -> <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a><<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.i64.html'>i64</a>, &'static <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>></pre><div class='docblock'><p>Convert a date field from an email header into a UNIX epoch timestamp. This function handles the most common formatting of date fields found in email headers. It may fail to parse some of the more creative formattings.</p> diff --git a/target/doc/mailparse/fn.parse_content_type.html b/target/doc/mailparse/fn.parse_content_type.html index 08ef924..a437727 100644 --- a/target/doc/mailparse/fn.parse_content_type.html +++ b/target/doc/mailparse/fn.parse_content_type.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-285' class='srclink' href='../src/mailparse/src/lib.rs.html#511-536' title='goto source code'>[src]</a></span></h1> + </span><a id='src-293' class='srclink' href='../src/mailparse/src/lib.rs.html#512-537' title='goto source code'>[src]</a></span></h1> <pre class='rust fn'>pub fn parse_content_type(header: &<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>) -> <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a><<a class='struct' href='../mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>, <a class='enum' href='../mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>></pre><div class='docblock'><p>Helper method to parse a header value as a Content-Type header. The charset defaults to "us-ascii" if no charset parameter is provided in the header value.</p> diff --git a/target/doc/mailparse/fn.parse_header.html b/target/doc/mailparse/fn.parse_header.html index 8dbe04d..58b4e87 100644 --- a/target/doc/mailparse/fn.parse_header.html +++ b/target/doc/mailparse/fn.parse_header.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-218' class='srclink' href='../src/mailparse/src/lib.rs.html#286-359' title='goto source code'>[src]</a></span></h1> + </span><a id='src-228' class='srclink' href='../src/mailparse/src/lib.rs.html#288-361' title='goto source code'>[src]</a></span></h1> <pre class='rust fn'>pub fn parse_header(raw_data: <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.slice.html'>&[</a><a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.u8.html'>u8</a><a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.slice.html'>]</a>) -> <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a><<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>(</a><a class='struct' href='../mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a>, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.usize.html'>usize</a><a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>)</a>, <a class='enum' href='../mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>></pre><div class='docblock'><p>Parse a single header from the raw data given. This function takes raw byte data, and starts parsing it, expecting there to be a MIME header key-value pair right at the beginning. It parses that diff --git a/target/doc/mailparse/fn.parse_headers.html b/target/doc/mailparse/fn.parse_headers.html index c5e42be..984bce7 100644 --- a/target/doc/mailparse/fn.parse_headers.html +++ b/target/doc/mailparse/fn.parse_headers.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-265' class='srclink' href='../src/mailparse/src/lib.rs.html#446-469' title='goto source code'>[src]</a></span></h1> + </span><a id='src-273' class='srclink' href='../src/mailparse/src/lib.rs.html#446-470' title='goto source code'>[src]</a></span></h1> <pre class='rust fn'>pub fn parse_headers(raw_data: <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.slice.html'>&[</a><a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.u8.html'>u8</a><a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.slice.html'>]</a>) -> <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a><<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>(</a><a class='struct' href='https://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html' title='collections::vec::Vec'>Vec</a><<a class='struct' href='../mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a>>, <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.usize.html'>usize</a><a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.tuple.html'>)</a>, <a class='enum' href='../mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>></pre><div class='docblock'><p>Parses all the headers from the raw data given. This function takes raw byte data, and starts parsing it, expecting there to be zero or more MIME header key-value pair right at the beginning, diff --git a/target/doc/mailparse/fn.parse_mail.html b/target/doc/mailparse/fn.parse_mail.html index 95d75aa..d8d61bb 100644 --- a/target/doc/mailparse/fn.parse_mail.html +++ b/target/doc/mailparse/fn.parse_mail.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-331' class='srclink' href='../src/mailparse/src/lib.rs.html#634-676' title='goto source code'>[src]</a></span></h1> + </span><a id='src-339' class='srclink' href='../src/mailparse/src/lib.rs.html#635-679' title='goto source code'>[src]</a></span></h1> <pre class='rust fn'>pub fn parse_mail(raw_data: <a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.slice.html'>&[</a><a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.u8.html'>u8</a><a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.slice.html'>]</a>) -> <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a><<a class='struct' href='../mailparse/struct.ParsedMail.html' title='mailparse::ParsedMail'>ParsedMail</a>, <a class='enum' href='../mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>></pre><div class='docblock'><p>The main mail-parsing entry point. This function takes the raw data making up the message body and returns a structured version of it, which allows easily accessing the header and body diff --git a/target/doc/mailparse/index.html b/target/doc/mailparse/index.html index 83af7c0..54f0934 100644 --- a/target/doc/mailparse/index.html +++ b/target/doc/mailparse/index.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-0' class='srclink' href='../src/mailparse/src/lib.rs.html#1-949' title='goto source code'>[src]</a></span></h1> + </span><a id='src-0' class='srclink' href='../src/mailparse/src/lib.rs.html#1-979' title='goto source code'>[src]</a></span></h1> <h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2> <table> <tr class=' module-item'> diff --git a/target/doc/mailparse/struct.MailHeader.html b/target/doc/mailparse/struct.MailHeader.html index 0160a89..a6c44c7 100644 --- a/target/doc/mailparse/struct.MailHeader.html +++ b/target/doc/mailparse/struct.MailHeader.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-125' class='srclink' href='../src/mailparse/src/lib.rs.html#91-94' title='goto source code'>[src]</a></span></h1> + </span><a id='src-126' class='srclink' href='../src/mailparse/src/lib.rs.html#92-95' title='goto source code'>[src]</a></span></h1> <pre class='rust struct'>pub struct MailHeader<'a> { // some fields omitted }</pre><div class='docblock'><p>A struct that represents a single header in the message. diff --git a/target/doc/mailparse/struct.ParsedContentType.html b/target/doc/mailparse/struct.ParsedContentType.html index 8d4d189..38b2bad 100644 --- a/target/doc/mailparse/struct.ParsedContentType.html +++ b/target/doc/mailparse/struct.ParsedContentType.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-273' class='srclink' href='../src/mailparse/src/lib.rs.html#475-486' title='goto source code'>[src]</a></span></h1> + </span><a id='src-281' class='srclink' href='../src/mailparse/src/lib.rs.html#476-487' title='goto source code'>[src]</a></span></h1> <pre class='rust struct'>pub struct ParsedContentType { pub mimetype: <a class='struct' href='https://doc.rust-lang.org/nightly/collections/string/struct.String.html' title='collections::string::String'>String</a>, pub charset: <a class='struct' href='https://doc.rust-lang.org/nightly/collections/string/struct.String.html' title='collections::string::String'>String</a>, diff --git a/target/doc/mailparse/struct.ParsedMail.html b/target/doc/mailparse/struct.ParsedMail.html index 5446417..cc1acaa 100644 --- a/target/doc/mailparse/struct.ParsedMail.html +++ b/target/doc/mailparse/struct.ParsedMail.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-293' class='srclink' href='../src/mailparse/src/lib.rs.html#543-553' title='goto source code'>[src]</a></span></h1> + </span><a id='src-301' class='srclink' href='../src/mailparse/src/lib.rs.html#544-554' title='goto source code'>[src]</a></span></h1> <pre class='rust struct'>pub struct ParsedMail<'a> { pub headers: <a class='struct' href='https://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html' title='collections::vec::Vec'>Vec</a><<a class='struct' href='../mailparse/struct.MailHeader.html' title='mailparse::MailHeader'>MailHeader</a><'a>>, pub ctype: <a class='struct' href='../mailparse/struct.ParsedContentType.html' title='mailparse::ParsedContentType'>ParsedContentType</a>, diff --git a/target/doc/mailparse/trait.MailHeaderMap.html b/target/doc/mailparse/trait.MailHeaderMap.html index 245b416..11f83e1 100644 --- a/target/doc/mailparse/trait.MailHeaderMap.html +++ b/target/doc/mailparse/trait.MailHeaderMap.html @@ -47,7 +47,7 @@ <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs"> [<span class='inner'>−</span>] </a> - </span><a id='src-233' class='srclink' href='../src/mailparse/src/lib.rs.html#364-398' title='goto source code'>[src]</a></span></h1> + </span><a id='src-243' class='srclink' href='../src/mailparse/src/lib.rs.html#366-400' title='goto source code'>[src]</a></span></h1> <pre class='rust trait'>pub trait MailHeaderMap { fn <a href='#tymethod.get_first_value' class='fnname'>get_first_value</a>(&self, key: &<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>) -> <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a><<a class='enum' href='https://doc.rust-lang.org/nightly/core/option/enum.Option.html' title='core::option::Option'>Option</a><<a class='struct' href='https://doc.rust-lang.org/nightly/collections/string/struct.String.html' title='collections::string::String'>String</a>>, <a class='enum' href='../mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>>; fn <a href='#tymethod.get_all_values' class='fnname'>get_all_values</a>(&self, key: &<a class='primitive' href='https://doc.rust-lang.org/nightly/std/primitive.str.html'>str</a>) -> <a class='enum' href='https://doc.rust-lang.org/nightly/core/result/enum.Result.html' title='core::result::Result'>Result</a><<a class='struct' href='https://doc.rust-lang.org/nightly/collections/vec/struct.Vec.html' title='collections::vec::Vec'>Vec</a><<a class='struct' href='https://doc.rust-lang.org/nightly/collections/string/struct.String.html' title='collections::string::String'>String</a>>, <a class='enum' href='../mailparse/enum.MailParseError.html' title='mailparse::MailParseError'>MailParseError</a>>; diff --git a/target/doc/src/mailparse/src/lib.rs.html b/target/doc/src/mailparse/src/lib.rs.html index 313765d..104a734 100644 --- a/target/doc/src/mailparse/src/lib.rs.html +++ b/target/doc/src/mailparse/src/lib.rs.html @@ -991,11 +991,42 @@ <span id="947">947</span> <span id="948">948</span> <span id="949">949</span> +<span id="950">950</span> +<span id="951">951</span> +<span id="952">952</span> +<span id="953">953</span> +<span id="954">954</span> +<span id="955">955</span> +<span id="956">956</span> +<span id="957">957</span> +<span id="958">958</span> +<span id="959">959</span> +<span id="960">960</span> +<span id="961">961</span> +<span id="962">962</span> +<span id="963">963</span> +<span id="964">964</span> +<span id="965">965</span> +<span id="966">966</span> +<span id="967">967</span> +<span id="968">968</span> +<span id="969">969</span> +<span id="970">970</span> +<span id="971">971</span> +<span id="972">972</span> +<span id="973">973</span> +<span id="974">974</span> +<span id="975">975</span> +<span id="976">976</span> +<span id="977">977</span> +<span id="978">978</span> +<span id="979">979</span> </pre><pre class='rust '> <span class='kw'>extern</span> <span class='kw'>crate</span> <span class='ident'>base64</span>; <span class='kw'>extern</span> <span class='kw'>crate</span> <span class='ident'>encoding</span>; <span class='kw'>extern</span> <span class='kw'>crate</span> <span class='ident'>quoted_printable</span>; +<span class='kw'>use</span> <span class='ident'>std</span>::<span class='ident'>ascii</span>::<span class='ident'>AsciiExt</span>; <span class='kw'>use</span> <span class='ident'>std</span>::<span class='ident'>error</span>; <span class='kw'>use</span> <span class='ident'>std</span>::<span class='ident'>fmt</span>; <span class='kw'>use</span> <span class='ident'>std</span>::<span class='ident'>ops</span>::<span class='ident'>Deref</span>; @@ -1249,6 +1280,7 @@ } } +<span class='attribute'>#[<span class='ident'>derive</span>(<span class='ident'>Debug</span>)]</span> <span class='kw'>enum</span> <span class='ident'>HeaderParseState</span> { <span class='ident'>Initial</span>, |