1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00
actix-extras/actix_settings/trait.Parse.html
2022-07-31 19:14:56 +00:00

7 lines
28 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A specialized `FromStr` trait that returns [`AtError`] errors"><meta name="keywords" content="rust, rustlang, rust-lang, Parse"><title>Parse in actix_settings - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../ayu.css" disabled><link rel="stylesheet" type="text/css" href="../dark.css" disabled><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" href="https://actix.rs/favicon.ico"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../actix_settings/index.html"><div class="logo-container"><img src="https://actix.rs/img/logo.png" alt="logo"></div></a><h2 class="location"></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../actix_settings/index.html"><div class="logo-container">
<img src="https://actix.rs/img/logo.png" alt="logo"></div></a><h2 class="location"><a href="#">Parse</a></h2><div class="sidebar-elems"><section><div class="block"><h3 class="sidebar-title"><a href="#required-methods">Required Methods</a></h3><ul><li><a href="#tymethod.parse">parse</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul><li><a href="#impl-Parse-for-PathBuf">PathBuf</a></li><li><a href="#impl-Parse-for-String">String</a></li><li><a href="#impl-Parse-for-Vec%3CAddress%3E">Vec&lt;Address&gt;</a></li><li><a href="#impl-Parse-for-bool">bool</a></li><li><a href="#impl-Parse-for-i128">i128</a></li><li><a href="#impl-Parse-for-i16">i16</a></li><li><a href="#impl-Parse-for-i32">i32</a></li><li><a href="#impl-Parse-for-i64">i64</a></li><li><a href="#impl-Parse-for-i8">i8</a></li><li><a href="#impl-Parse-for-u128">u128</a></li><li><a href="#impl-Parse-for-u16">u16</a></li><li><a href="#impl-Parse-for-u32">u32</a></li><li><a href="#impl-Parse-for-u64">u64</a></li><li><a href="#impl-Parse-for-u8">u8</a></li></ul></div><div class="block"><h3 class="sidebar-title"><a href="#implementors">Implementors</a></h3></div></section><h2 class="location"><a href="index.html">In actix_settings</a></h2></div></nav><main><div class="width-limiter"><div class="sub-container"><a class="sub-logo-container" href="../actix_settings/index.html">
<img src="https://actix.rs/img/logo.png" alt="logo"></a><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><button type="button">?</button></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav></div><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn"><span class="in-band">Trait <a href="index.html">actix_settings</a>::<wbr><a class="trait" href="#">Parse</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></span></h1><span class="out-of-band"><a class="srclink" href="../src/actix_settings/parse.rs.html#6-9">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="docblock item-decl"><pre class="rust trait"><code>pub trait Parse: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;;
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A specialized <code>FromStr</code> trait that returns <a href="enum.AtError.html" title="AtError"><code>AtError</code></a> errors</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle" open><summary><div id="tymethod.parse" class="method has-srclink"><div class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#8">source</a></div><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></div></summary><div class="docblock"><p>Parse <code>Self</code> from <code>string</code>.</p>
</div></details></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-bool" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#11-15">source</a></span><a href="#impl-Parse-for-bool" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h3></section></summary><div class="impl-items"><section id="method.parse" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#12-14">source</a></span><a href="#method.parse" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-i8" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-i8" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i8.html">i8</a></h3></section></summary><div class="impl-items"><section id="method.parse-1" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-i16" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-i16" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i16.html">i16</a></h3></section></summary><div class="impl-items"><section id="method.parse-2" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-2" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-i32" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-i32" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a></h3></section></summary><div class="impl-items"><section id="method.parse-3" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-3" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-i64" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-i64" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a></h3></section></summary><div class="impl-items"><section id="method.parse-4" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-4" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-i128" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-i128" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i128.html">i128</a></h3></section></summary><div class="impl-items"><section id="method.parse-5" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-5" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-u8" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-u8" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a></h3></section></summary><div class="impl-items"><section id="method.parse-6" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-6" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-u16" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-u16" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u16.html">u16</a></h3></section></summary><div class="impl-items"><section id="method.parse-7" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-7" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-u32" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-u32" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></h3></section></summary><div class="impl-items"><section id="method.parse-8" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-8" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-u64" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-u64" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></h3></section></summary><div class="impl-items"><section id="method.parse-9" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-9" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-u128" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#impl-Parse-for-u128" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a></h3></section></summary><div class="impl-items"><section id="method.parse-10" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#28">source</a></span><a href="#method.parse-10" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-String" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#30-34">source</a></span><a href="#impl-Parse-for-String" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h3></section></summary><div class="impl-items"><section id="method.parse-11" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#31-33">source</a></span><a href="#method.parse-11" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-PathBuf" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#36-40">source</a></span><a href="#impl-Parse-for-PathBuf" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/std/path/struct.PathBuf.html" title="struct std::path::PathBuf">PathBuf</a></h3></section></summary><div class="impl-items"><section id="method.parse-12" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/parse.rs.html#37-39">source</a></span><a href="#method.parse-12" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Parse-for-Vec%3CAddress%3E" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/address.rs.html#71-93">source</a></span><a href="#impl-Parse-for-Vec%3CAddress%3E" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="struct.Address.html" title="struct actix_settings::Address">Address</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.parse-13" class="method trait-impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/address.rs.html#72-92">source</a></span><a href="#method.parse-13" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.parse" class="fnname">parse</a>(string: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="enum.AtError.html" title="enum actix_settings::AtError">AtError</a>&gt;</h4></section></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><section id="impl-Parse-for-Backlog" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/backlog.rs.html#24-37">source</a></span><a href="#impl-Parse-for-Backlog" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="enum" href="enum.Backlog.html" title="enum actix_settings::Backlog">Backlog</a></h3></section><section id="impl-Parse-for-KeepAlive" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/keep_alive.rs.html#30-62">source</a></span><a href="#impl-Parse-for-KeepAlive" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="enum" href="enum.KeepAlive.html" title="enum actix_settings::KeepAlive">KeepAlive</a></h3></section><section id="impl-Parse-for-MaxConnectionRate" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/max_connection_rate.rs.html#21-34">source</a></span><a href="#impl-Parse-for-MaxConnectionRate" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="enum" href="enum.MaxConnectionRate.html" title="enum actix_settings::MaxConnectionRate">MaxConnectionRate</a></h3></section><section id="impl-Parse-for-MaxConnections" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/max_connections.rs.html#21-34">source</a></span><a href="#impl-Parse-for-MaxConnections" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="enum" href="enum.MaxConnections.html" title="enum actix_settings::MaxConnections">MaxConnections</a></h3></section><section id="impl-Parse-for-Mode" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/mode.rs.html#16-27">source</a></span><a href="#impl-Parse-for-Mode" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="enum" href="enum.Mode.html" title="enum actix_settings::Mode">Mode</a></h3></section><section id="impl-Parse-for-NumWorkers" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/num_workers.rs.html#20-33">source</a></span><a href="#impl-Parse-for-NumWorkers" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="enum" href="enum.NumWorkers.html" title="enum actix_settings::NumWorkers">NumWorkers</a></h3></section><section id="impl-Parse-for-Timeout" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/timeout.rs.html#22-65">source</a></span><a href="#impl-Parse-for-Timeout" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="enum" href="enum.Timeout.html" title="enum actix_settings::Timeout">Timeout</a></h3></section><section id="impl-Parse-for-Address" class="impl has-srclink"><span class="rightside"><a class="srclink" href="../src/actix_settings/settings/address.rs.html#50-69">source</a></span><a href="#impl-Parse-for-Address" class="anchor"></a><h3 class="code-header in-band">impl <a class="trait" href="trait.Parse.html" title="trait actix_settings::Parse">Parse</a> for <a class="struct" href="struct.Address.html" title="struct actix_settings::Address">Address</a></h3></section></div><script type="text/javascript" src="../implementors/actix_settings/parse/trait.Parse.js" data-ignore-extern-crates="std,alloc" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="actix_settings" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.64.0-nightly (0f4bcadb4 2022-07-30)" ></div></body></html>