<!DOCTYPE html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"><metaname="generator"content="rustdoc"><metaname="description"content="A specialized `FromStr` trait that returns [`AtError`] errors"><metaname="keywords"content="rust, rustlang, rust-lang, Parse"><title>Parse in actix_settings - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../SourceSerif4-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../FiraSans-Regular.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../FiraSans-Medium.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../SourceCodePro-Regular.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../SourceSerif4-Bold.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../SourceCodePro-Semibold.ttf.woff2"><linkrel="stylesheet"href="../normalize.css"><linkrel="stylesheet"href="../rustdoc.css"id="mainThemeStyle"><linkrel="stylesheet"href="../ayu.css"disabled><linkrel="stylesheet"href="../dark.css"disabled><linkrel="stylesheet"href="../light.css"id="themeStyle"><scriptid="default-settings"></script><scriptsrc="../storage.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../main.js"></script><noscript><linkrel="stylesheet"href="../noscript.css"></noscript><linkrel="icon"href="https://actix.rs/favicon.ico"></head><bodyclass="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><navclass="mobile-topbar"><buttonclass="sidebar-menu-toggle">☰</button><aclass="sidebar-logo"href="../actix_settings/index.html"><divclass="logo-container"><imgsrc="https://actix.rs/img/logo.png"alt="logo"></div></a><h2class="location"></h2></nav><navclass="sidebar"><aclass="sidebar-logo"href="../actix_settings/index.html"><divclass="logo-container">
<imgsrc="https://actix.rs/img/logo.png"alt="logo"></div></a><h2class="location"><ahref="#">Parse</a></h2><divclass="sidebar-elems"><section><h3class="sidebar-title"><ahref="#required-methods">Required Methods</a></h3><ulclass="block"><li><ahref="#tymethod.parse">parse</a></li></ul><h3class="sidebar-title"><ahref="#foreign-impls">Implementations on Foreign Types</a></h3><ulclass="block"><li><ahref="#impl-Parse-for-PathBuf">PathBuf</a></li><li><ahref="#impl-Parse-for-String">String</a></li><li><ahref="#impl-Parse-for-Vec%3CAddress%3E">Vec<Address></a></li><li><ahref="#impl-Parse-for-bool">bool</a></li><li><ahref="#impl-Parse-for-i128">i128</a></li><li><ahref="#impl-Parse-for-i16">i16</a></li><li><ahref="#impl-Parse-for-i32">i32</a></li><li><ahref="#impl-Parse-for-i64">i64</a></li><li><ahref="#impl-Parse-for-i8">i8</a></li><li><ahref="#impl-Parse-for-u128">u128</a></li><li><ahref="#impl-Parse-for-u16">u16</a></li><li><ahref="#impl-Parse-for-u32">u32</a></li><li><ahref="#impl-Parse-for-u64">u64</a></li><li><ahref="#impl-Parse-for-u8">u8</a></li></ul><h3class="sidebar-title"><ahref="#implementors">Implementors</a></h3></section><h2class="location"><ahref="index.html">In actix_settings</a></h2></div></nav><main><divclass="width-limiter"><divclass="sub-container"><aclass="sub-logo-container"href="../actix_settings/index.html">
<imgsrc="https://actix.rs/img/logo.png"alt="logo"></a><navclass="sub"><formclass="search-form"><divclass="search-container"><span></span><inputclass="search-input"name="search"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"title="help"tabindex="-1"><buttontype="button">?</button></div><divid="settings-menu"tabindex="-1"><ahref="../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../wheel.svg"></a></div></div></form></nav></div><sectionid="main-content"class="content"><divclass="main-heading"><h1class="fqn">Trait <ahref="index.html">actix_settings</a>::<wbr><aclass="trait"href="#">Parse</a><buttonid="copy-path"onclick="copy_path(this)"title="Copy item path to clipboard"><imgsrc="../clipboard.svg"width="19"height="18"alt="Copy item path"></button></h1><spanclass="out-of-band"><aclass="srclink"href="../src/actix_settings/parse.rs.html#6-9">source</a> · <aid="toggle-all-docs"href="javascript:void(0)"title="collapse all docs">[<spanclass="inner">−</span>]</a></span></div><divclass="item-decl"><preclass="rust trait"><code>pub trait Parse: <aclass="trait"href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a> {