<!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="Error data structure grouping various error subtypes"><metaname="keywords"content="rust, rustlang, rust-lang, ServiceError"><title>ServiceError in pages::errors - 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="alternate icon"type="image/png"href="../../favicon-16x16.png"><linkrel="alternate icon"type="image/png"href="../../favicon-32x32.png"><linkrel="icon"type="image/svg+xml"href="../../favicon.svg"></head><bodyclass="rustdoc enum"><!--[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="../../pages/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div></a><h2class="location"></h2></nav><navclass="sidebar"><aclass="sidebar-logo"href="../../pages/index.html"><divclass="logo-container"><imgclass="rust-logo"src="../../rust-logo.svg"alt="logo"></div></a><h2class="location"><ahref="#">ServiceError</a></h2><divclass="sidebar-elems"><section><divclass="block"><h3class="sidebar-title"><ahref="#variants">Variants</a></h3><ul><li><ahref="#variant.AccountNotFound">AccountNotFound</a></li><li><ahref="#variant.BadRequest">BadRequest</a></li><li><ahref="#variant.BlacklistError">BlacklistError</a></li><li><ahref="#variant.BranchNotFound">BranchNotFound</a></li><li><ahref="#variant.ClosedForRegistration">ClosedForRegistration</a></li><li><ahref="#variant.ConfigError">ConfigError</a></li><li><ahref="#variant.DuplicateRepositoryURL">DuplicateRepositoryURL</a></li><li><ahref="#variant.EmailTaken">EmailTaken</a></li><li><ahref="#variant.FSError">FSError</a></li><li><ahref="#variant.GitError">GitError</a></li><li><ahref="#variant.InternalServerError">InternalServerError</a></li><li><ahref="#variant.NotAUrl">NotAUrl</a></li><li><ahref="#variant.NotAnEmail">NotAnEmail</a></li><li><ahref="#variant.PasswordTooLong">PasswordTooLong</a></li><li><ahref="#variant.PasswordTooShort">PasswordTooShort</a></li><li><ahref="#variant.PasswordsDontMatch">PasswordsDontMatch</a></li><li><ahref="#variant.PathTaken">PathTaken</a></li><li><ahref="#variant.ProfanityError">ProfanityError</a></li><li><ahref="#variant.SecretTaken">SecretTaken</a></li><li><ahref="#variant.URLTooLong">URLTooLong</a></li><li><ahref="#variant.UnauthorizedOperation">UnauthorizedOperation</a></li><li><ahref="#variant.UsernameCaseMappedError">UsernameCaseMappedError</a></li><li><ahref="#variant.UsernameTaken">UsernameTaken</a></li><li><ahref="#variant.WebsiteNotFound">WebsiteNotFound</a></li><li><ahref="#variant.WrongPassword">WrongPassword</a></li></ul></div><divclass="block"><h3class="sidebar-title"><ahref="#trait-i
</details>}</code></pre></div><detailsclass="rustdoc-toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>Error data structure grouping various error subtypes</p>
</div></details><h2id="variants"class="variants small-section-header">Variants<ahref="#variants"class="anchor"></a></h2><h3id="variant.InternalServerError"class="variant small-section-header"><ahref="#variant.InternalServerError"class="anchor field"></a><code>InternalServerError</code></h3><divclass="docblock"><p>All non-specific errors are grouped under this category</p>
</div><h3id="variant.NotAUrl"class="variant small-section-header"><ahref="#variant.NotAUrl"class="anchor field"></a><code>NotAUrl</code></h3><divclass="docblock"><p>The value you entered for url is not url“</p>
</div><h3id="variant.URLTooLong"class="variant small-section-header"><ahref="#variant.URLTooLong"class="anchor field"></a><code>URLTooLong</code></h3><divclass="docblock"><p>URL too long, maximum length can’t be greater then 2048 characters</p>
</div><h3id="variant.WebsiteNotFound"class="variant small-section-header"><ahref="#variant.WebsiteNotFound"class="anchor field"></a><code>WebsiteNotFound</code></h3><divclass="docblock"><p>website not found</p>
</div><h3id="variant.PathTaken"class="variant small-section-header"><ahref="#variant.PathTaken"class="anchor field"></a><code>PathTaken(<aclass="struct"href="https://doc.rust-lang.org/1.65.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../page/struct.Page.html"title="struct pages::page::Page">Page</a>>, <aclass="struct"href="https://doc.rust-lang.org/1.65.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../page/struct.Page.html"title="struct pages::page::Page">Page</a>>)</code></h3><divclass="docblock"><p>when the a path configured for a page is already taken</p>
</div><h3id="variant.SecretTaken"class="variant small-section-header"><ahref="#variant.SecretTaken"class="anchor field"></a><code>SecretTaken(<aclass="struct"href="https://doc.rust-lang.org/1.65.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../page/struct.Page.html"title="struct pages::page::Page">Page</a>>, <aclass="struct"href="https://doc.rust-lang.org/1.65.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../page/struct.Page.html"title="struct pages::page::Page">Page</a>>)</code></h3><divclass="docblock"><p>when the a Secret configured for a page is already taken</p>
</div><h3id="variant.DuplicateRepositoryURL"class="variant small-section-header"><ahref="#variant.DuplicateRepositoryURL"class="anchor field"></a><code>DuplicateRepositoryURL(<aclass="struct"href="https://doc.rust-lang.org/1.65.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../page/struct.Page.html"title="struct pages::page::Page">Page</a>>, <aclass="struct"href="https://doc.rust-lang.org/1.65.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><<aclass="struct"href="../page/struct.Page.html"title="struct pages::page::Page">Page</a>>)</code></h3><divclass="docblock"><p>when the a Repository URL configured for a page is already taken</p>
</div><h3id="variant.EmailTaken"class="variant small-section-header"><ahref="#variant.EmailTaken"class="anchor field"></a><code>EmailTaken</code></h3><divclass="docblock"><p>Email is taken</p>
</div><h3id="variant.AccountNotFound"class="variant small-section-header"><ahref="#variant.AccountNotFound"class="anchor field"></a><code>AccountNotFound</code></h3><divclass="docblock"><p>Account not found</p>
</div><h3id="variant.ClosedForRegistration"class="variant small-section-header"><ahref="#variant.ClosedForRegistration"class="anchor field"></a><code>ClosedForRegistration</code></h3><divclass="docblock"><p>registration failure, server is is closed for registration</p>
</div><h3id="variant.NotAnEmail"class="variant small-section-header"><ahref="#variant.NotAnEmail"class="anchor field"></a><code>NotAnEmail</code></h3><divclass="docblock"><p>The value you entered for email is not an email“</p>
</div><h3id="variant.ProfanityError"class="variant small-section-header"><ahref="#variant.ProfanityError"class="anchor field"></a><code>ProfanityError</code></h3><divclass="docblock"><p>when the value passed contains profanity</p>
</div><h3id="variant.BlacklistError"class="variant small-section-header"><ahref="#variant.BlacklistError"class="anchor field"></a><code>BlacklistError</code></h3><divclass="docblock"><p>when the value passed contains blacklisted words
see <ahref="https://github.com/shuttlecraft/The-Big-Username-Blacklist">blacklist</a></p>
</div><h3id="variant.UsernameCaseMappedError"class="variant small-section-header"><ahref="#variant.UsernameCaseMappedError"class="anchor field"></a><code>UsernameCaseMappedError</code></h3><divclass="docblock"><p>when the value passed contains characters not present
in <ahref="https://tools.ietf.org/html/rfc8265#page-7">UsernameCaseMapped</a>
profile</p>
</div><h3id="variant.PasswordTooShort"class="variant small-section-header"><ahref="#variant.PasswordTooShort"class="anchor field"></a><code>PasswordTooShort</code></h3><divclass="docblock"><p>password too short</p>
</div><h3id="variant.PasswordTooLong"class="variant small-section-header"><ahref="#variant.PasswordTooLong"class="anchor field"></a><code>PasswordTooLong</code></h3><divclass="docblock"><p>password too long</p>
</div><h2id="trait-implementations"class="small-section-header">Trait Implementations<ahref="#trait-implementations"class="anchor"></a></h2><divid="trait-implementations-list"><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Debug-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#70">source</a><ahref="#impl-Debug-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt"class="method trait-impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#70">source</a><ahref="#method.fmt"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.65.0/core/fmt/trait.Debug.html#tymethod.fmt"class="fnname">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/1.65.0/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/1.65.0/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/1.65.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Display-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#70">source</a><ahref="#impl-Display-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.fmt-1"class="method trait-impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#70">source</a><ahref="#method.fmt-1"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.65.0/core/fmt/trait.Display.html#tymethod.fmt"class="fnname">fmt</a>(&self, _derive_more_display_formatter: &mut <aclass="struct"href="https://doc.rust-lang.org/1.65.0/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/1.65.0/core/fmt/type.Result.html"title="type core::fmt::Result">Result</a></h4></section></summary><divclass='docblock'>Formats the value using the given formatter. <ahref="https://doc.rust-lang.org/1.65.0/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-Error-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#70">source</a><ahref="#impl-Error-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/error/trait.Error.html"title="trait core::error::Error">Error</a> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.source"class="method trait-impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#70">source</a><ahref="#method.source"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-la
</span></div></span><divclass='docblock'><ahref="https://doc.rust-lang.org/1.65.0/core/error/trait.Error.html#method.description">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.cause"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.65.0/src/core/error.rs.html#119">source</a></span><ahref="#method.cause"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.65.0/core/error/trait.Error.html#method.cause"class="fnname">cause</a>(&self) -><aclass="enum"href="https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html"title="enum core::option::Option">Option</a><&dyn <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/error/trait.Error.html"title="trait core::error::Error">Error</a>></h4></section></summary><spanclass="item-info"><divclass="stab deprecated"><spanclass="emoji">👎</span><span>Deprecated since 1.33.0: <p>replaced by Error::source, which can support downcasting</p>
</span></div></span></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.provide"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.65.0/src/core/error.rs.html#193">source</a><ahref="#method.provide"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.65.0/core/error/trait.Error.html#method.provide"class="fnname">provide</a>(&'a self, demand: &mut <aclass="struct"href="https://doc.rust-lang.org/1.65.0/core/any/struct.Demand.html"title="struct core::any::Demand">Demand</a><'a>)</h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>error_generic_member_access</code>)</span></div></span><divclass='docblock'>Provides type based access to context intended for error reports. <ahref="https://doc.rust-lang.org/1.65.0/core/error/trait.Error.html#method.provide">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-From%3CConfigError%3E-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#64-68">source</a><ahref="#impl-From%3CConfigError%3E-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><ConfigError> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from-1"class="method trait-impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#65-67">source</a><ahref="#method.from-1"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.65.0/core/convert/trait.From.html#tymethod.from"class="fnname">from</a>(e: ConfigErrorInner) -> Self</h4></section></summary><divclass='docblock'>Converts to this type from the input type.</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-From%3CCredsError%3E-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#254-267">source</a><ahref="#impl-From%3CCredsError%3E-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><CredsError> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.from-4"class="method trait-impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#256-266">source</a><ahref="#method.from-4"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.65.0/core/convert/trait.From.html#tymethod.from"class="fnname">from</a>(e: CredsError) -><aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h4></section></summary><divclass='docblock'>Converts to this type from the input type.</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-From%3CError%3E-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#57-61">source</a><ahref="#impl-From%3CError%3E-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/convert/trait.From.html"title="trait core::convert::From">From</a><<aclass="struct"href="https://doc.rust-lang.org/1.65.0/std/io/error/struct.Error.html"title="structstd
by <code>==</code>. <ahref="https://doc.rust-lang.org/1.65.0/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.ne"class="method trait-impl has-srclink"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="srclink"href="https://doc.rust-lang.org/1.65.0/src/core/cmp.rs.html#236">source</a></span><ahref="#method.ne"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.65.0/core/cmp/trait.PartialEq.html#method.ne"class="fnname">ne</a>(&self, other: <aclass="primitive"href="https://doc.rust-lang.org/1.65.0/std/primitive.reference.html">&</a>Rhs) -><aclass="primitive"href="https://doc.rust-lang.org/1.65.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass='docblock'>This method tests for <code>!=</code>. The default implementation is almost always
sufficient, and should not be overridden without very good reason. <ahref="https://doc.rust-lang.org/1.65.0/core/cmp/trait.PartialEq.html#method.ne">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"open><summary><sectionid="impl-ResponseError-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#204-252">source</a><ahref="#impl-ResponseError-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl ResponseError for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.error_response"class="method trait-impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#206-215">source</a><ahref="#method.error_response"class="anchor"></a><h4class="code-header">fn <aclass="fnname">error_response</a>(&self) -> HttpResponse</h4></section></summary><divclass='docblock'>Creates full response for error. <a>Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.status_code"class="method trait-impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#218-251">source</a><ahref="#method.status_code"class="anchor"></a><h4class="code-header">fn <aclass="fnname">status_code</a>(&self) -><aclass="struct"href="https://docs.rs/http/0.2.8/http/status/struct.StatusCode.html"title="struct http::status::StatusCode">StatusCode</a></h4></section></summary><divclass='docblock'>Returns appropriate status code for error. <a>Read more</a></div></details></div></details><sectionid="impl-StructuralPartialEq-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="../../src/pages/errors.rs.html#70">source</a><ahref="#impl-StructuralPartialEq-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/marker/trait.StructuralPartialEq.html"title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section></div><h2id="synthetic-implementations"class="small-section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor"></a></h2><divid="synthetic-implementations-list"><sectionid="impl-RefUnwindSafe-for-ServiceError"class="impl has-srclink"><ahref="#impl-RefUnwindSafe-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl !<aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/panic/unwind_safe/trait.RefUnwindSafe.html"title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section><sectionid="impl-Send-for-ServiceError"class="impl has-srclink"><ahref="#impl-Send-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section><sectionid="impl-Sync-for-ServiceError"class="impl has-srclink"><ahref="#impl-Sync-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="enum"href="enum.ServiceError.html"title="enum pages::errors::ServiceError">ServiceError</a></h3></section><sectionid="impl-Unpin-for-ServiceError"class="impl has-srclink"><ahref="#impl-Unpin-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Unpin.htm
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#276">source</a><ahref="#impl-Instrument-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#82">source</a><ahref="#method.instrument"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.instrument"class="fnname">instrument</a>(self, span: <aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the provided <ahref="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html"title="Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#121">source</a><ahref="#method.in_current_span"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.Instrument.html#method.in_current_span"class="fnname">in_current_span</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the <ahref="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html#method.current">current</a><ahref="https://docs.rs/tracing/0.1.36/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
<code><ahref="https://doc.rust-lang.org/1.65.0/core/convert/trait.From.html"title="From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Provider-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.65.0/src/core/error.rs.html#197">source</a><ahref="#impl-Provider-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl<E><aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/any/trait.Provider.html"title="trait core::any::Provider">Provider</a> for E<spanclass="where fmt-newline">where<br> E: <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/error/trait.Error.html"title="trait core::error::Error">Error</a> + ?<aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.provide-1"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.65.0/src/core/error.rs.html#201">source</a><ahref="#method.provide-1"class="anchor"></a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.65.0/core/any/trait.Provider.html#tymethod.provide"class="fnname">provide</a>(&'a self, demand: &mut <aclass="struct"href="https://doc.rust-lang.org/1.65.0/core/any/struct.Demand.html"title="struct core::any::Demand">Demand</a><'a>)</h4></section></summary><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>provide_any</code>)</span></div></span><divclass='docblock'>Data providers should implement this method to provide <em>all</em> values they are able to
provide by using <code>demand</code>. <ahref="https://doc.rust-lang.org/1.65.0/core/any/trait.Provider.html#tymethod.provide">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-Same%3CT%3E-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/typenum/1.15.0/src/typenum/type_operators.rs.html#34">source</a><ahref="#impl-Same%3CT%3E-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://docs.rs/typenum/1.15.0/typenum/type_operators/trait.Same.html"title="trait typenum::type_operators::Same">Same</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Output"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Output"class="anchor"></a><h4class="code-header">type <ahref="https://docs.rs/typenum/1.15.0/typenum/type_operators/trait.Same.html#associatedtype.Output"class="associatedtype">Output</a> = T</h4></section></summary><divclass='docblock'>Should always be <code>Self</code></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-ToString-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.65.0/src/alloc/string.rs.html#2500">source</a><ahref="#impl-ToString-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.65.0/alloc/string/trait.ToString.html"title="trait alloc::string::ToString">ToString</a> for T<spanclass="where fmt-newline">where<br> T: <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/fmt/trait.Display.html"title="trait core::fmt::Display">Display</a> + ?<aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.to_string"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.65.0/src/alloc/string.rs.html#2506">source</a><ahref="#method.to_string"class="anchor"></a><h4class="code-header">default fn <ahref="https://doc.rust-lang.org/1.65.0/alloc/string/trait.ToString.html#tymethod.to_string"class="fnname">to_string</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html"title="struct alloc::string::String">String</a></h4></section></summary><divclass='docblock'>Converts the given value to a <code>String</code>. <ahref="https://doc.rust-lang.org/1.65.0/alloc/string/trait.ToString.html#tymethod.to_string">Read more</a></div></details></div></details><detailsclass="rustdoc-toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-ServiceError"class="impl has-srclink"><aclass="srclink rightside"href="https://doc.rust-lang.org/1.65.0/src/core/convert/mod.rs.html#601">source</a><ahref="#impl-TryFrom%3CU%3E-for-ServiceError"class="anchor"></a><h3class="code-header in-band">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T<spanclass="where fmt-newline">where<br> U: <aclass="trait"href="https://doc.rust-lang.org/1.65.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>,</span></h3></section></summary><divclass="impl-items"><detailsclass="rustdoc-toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl has-srclink"><ahref="#associatedtype.Error-1"class="anchor"></a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.65.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.65.0/c
<ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/struct.WithDispatch.html"title="WithDispatch"><code>WithDispatch</code></a> wrapper. <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><detailsclass="rustdoc-toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl has-srclink"><aclass="srclink rightside"href="https://docs.rs/tracing/0.1.36/src/tracing/instrument.rs.html#221">source</a><ahref="#method.with_current_subscriber"class="anchor"></a><h4class="code-header">fn <ahref="https://docs.rs/tracing/0.1.36/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber"class="fnname">with_current_subscriber</a>(self) -><aclass="struct"href="https://docs.rs/tracing/0.1.36/tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><divclass='docblock'>Attaches the current <ahref="https://docs.rs/tracing/0.1.36/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a><ahref="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a