<!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="API documentation for the Rust `Config` struct in crate `edb`."><title>Config in edb::config - Rust</title><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><linkrel="preload"as="font"type="font/woff2"crossoriginhref="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><linkrel="stylesheet"href="../../static.files/normalize-76eba96aa4d2e634.css"><linkrel="stylesheet"href="../../static.files/rustdoc-5bc39a1768837dd0.css"><metaname="rustdoc-vars"data-root-path="../../"data-static-root-path="../../static.files/"data-current-crate="edb"data-themes=""data-resource-suffix=""data-rustdoc-version="1.77.2 (25ef9e3d8 2024-04-09)"data-channel="1.77.2"data-search-js="search-dd67cee4cfa65049.js"data-settings-js="settings-4313503d2e1961c2.js"><scriptsrc="../../static.files/storage-4c98445ec4002617.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../../static.files/main-48f368f3872407c8.js"></script><noscript><linkrel="stylesheet"href="../../static.files/noscript-04d5337699b92874.css"></noscript><linkrel="alternate icon"type="image/png"href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><linkrel="alternate icon"type="image/png"href="../../static.files/favicon-32x32-422f7d1d52889060.png"><linkrel="icon"type="image/svg+xml"href="../../static.files/favicon-2c020d218678b618.svg"></head><bodyclass="rustdoc struct"><!--[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"title="show sidebar"></button></nav><navclass="sidebar"><divclass="sidebar-crate"><h2><ahref="../../edb/index.html">edb</a><spanclass="version">0.0.1-alpha.17</span></h2></div><h2class="location"><ahref="#">Config</a></h2><divclass="sidebar-elems"><section><h3><ahref="#fields">Fields</a></h3><ulclass="block structfield"><li><ahref="#structfield.package">package</a></li><li><ahref="#structfield.profile">profile</a></li></ul><h3><ahref="#trait-implementations">Trait Implementations</a></h3><ulclass="block trait-implementation"><li><ahref="#impl-Debug-for-Config">Debug</a></li><li><ahref="#impl-Deserialize%3C'de%3E-for-Config">Deserialize<'de></a></li><li><ahref="#impl-Serialize-for-Config">Serialize</a></li></ul><h3><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ulclass="block synthetic-implementation"><li><ahref="#impl-RefUnwindSafe-for-Config">RefUnwindSafe</a></li><li><ahref="#impl-Send-for-Config">Send</a></li><li><ahref="#impl-Sync-for-Config">Sync</a></li><li><ahref="#impl-Unpin-for-Config">Unpin</a></li><li><ahref="#impl-UnwindSafe-for-Config">UnwindSafe</a></li></ul><h3><ahref="#blanket-implementations">Blanket Implementations</a></h3><ulclass="block blanket-implementation"><li><ahref="#impl-Any-for-T">Any</a></li><li><ahref="#impl-Borrow%3CT%3E-for-T">Borrow<T></a></li><li><ahref="#impl-BorrowMut%3CT%3E-for-T">BorrowMut<T></a></li><li><ahref="#impl-DeserializeOwned-for-T">DeserializeOwned</a></li><li><ahref="#impl-From%3CT%3E-for-T">From<T></a></li><li><ahref="#impl-Instrument-for-T">Instrument</a></li><li><ahref="#impl-Into%3CU%3E-for-T">Into<U></a></li><li><ahref="#impl-IntoEither-for-T">IntoEither</a></li><li><ahref="#impl-OwoColorize-for-D">OwoColorize</a></li><li><ahref="#impl-TryFrom%
<main><divclass="width-limiter"><navclass="sub"><formclass="search-form"><span></span><divid="sidebar-button"tabindex="-1"><ahref="../../edb/all.html"title="show sidebar"></a></div><inputclass="search-input"name="search"aria-label="Run search in the documentation"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"tabindex="-1"><ahref="../../help.html"title="help">?</a></div><divid="settings-menu"tabindex="-1"><ahref="../../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><sectionid="main-content"class="content"><divclass="main-heading"><h1>Struct <ahref="../index.html">edb</a>::<wbr><ahref="index.html">config</a>::<wbr><aclass="struct"href="#">Config</a><buttonid="copy-path"title="Copy item path to clipboard"><imgsrc="../../static.files/clipboard-7571035ce49a181d.svg"width="19"height="18"alt="Copy item path"></button></h1><spanclass="out-of-band"><aclass="src"href="../../src/edb/config.rs.html#6-9">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><preclass="rust item-decl"><code>pub struct Config {
}</code></pre><h2id="fields"class="fields section-header">Fields<ahref="#fields"class="anchor">§</a></h2><spanid="structfield.package"class="structfield section-header"><ahref="#structfield.package"class="anchor field">§</a><code>package: <aclass="struct"href="struct.Package.html"title="struct edb::config::Package">Package</a></code></span><spanid="structfield.profile"class="structfield section-header"><ahref="#structfield.profile"class="anchor field">§</a><code>profile: <aclass="struct"href="https://doc.rust-lang.org/1.77.2/std/collections/hash/map/struct.HashMap.html"title="struct std::collections::hash::map::HashMap">HashMap</a><<aclass="struct"href="https://doc.rust-lang.org/1.77.2/alloc/string/struct.String.html"title="struct alloc::string::String">String</a>, <aclass="struct"href="struct.Profile.html"title="struct edb::config::Profile">Profile</a>></code></span><h2id="trait-implementations"class="section-header">Trait Implementations<ahref="#trait-implementations"class="anchor">§</a></h2><divid="trait-implementations-list"><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Debug-for-Config"class="impl"><aclass="src rightside"href="../../src/edb/config.rs.html#5">source</a><ahref="#impl-Debug-for-Config"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/fmt/trait.Debug.html"title="trait core::fmt::Debug">Debug</a> for <aclass="struct"href="struct.Config.html"title="struct edb::config::Config">Config</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.fmt"class="method trait-impl"><aclass="src rightside"href="../../src/edb/config.rs.html#5">source</a><ahref="#method.fmt"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.77.2/core/fmt/trait.Debug.html#tymethod.fmt"class="fn">fmt</a>(&self, f: &mut <aclass="struct"href="https://doc.rust-lang.org/1.77.2/core/fmt/struct.Formatter.html"title="struct core::fmt::Formatter">Formatter</a><'_>) -><aclass="type"href="https://doc.rust-lang.org/1.77.2/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.77.2/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Deserialize%3C'de%3E-for-Config"class="impl"><aclass="src rightside"href="../../src/edb/config.rs.html#5">source</a><ahref="#impl-Deserialize%3C'de%3E-for-Config"class="anchor">§</a><h3class="code-header">impl<'de><aclass="trait"href="../../serde/de/trait.Deserialize.html"title="trait serde::de::Deserialize">Deserialize</a><'de> for <aclass="struct"href="struct.Config.html"title="struct edb::config::Config">Config</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.deserialize"class="method trait-impl"><aclass="src rightside"href="../../src/edb/config.rs.html#5">source</a><ahref="#method.deserialize"class="anchor">§</a><h4class="code-header">fn <ahref="../../serde/de/trait.Deserialize.html#tymethod.deserialize"class="fn">deserialize</a><__D>(__deserializer: __D) -><aclass="enum"href="https://doc.rust-lang.org/1.77.2/core/result/enum.Result.html"title="enum core::result::Result">Result</a><Self, __D::<aclass="associatedtype"href="../../serde/de/trait.Deserializer.html#associatedtype.Error"title="type serde::de::Deserializer::Error">Error</a>><divclass="where">where
__D: <aclass="trait"href="../../serde/de/trait.Deserializer.html"title="trait serde::de::Deserializer">Deserializer</a><'de>,</div></h4></section></summary><divclass='docblock'>Deserialize this value from the given Serde deserializer. <ahref="../../serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Serialize-for-Config"class="impl"><aclass="src rightside"href="../../src/edb/config.rs.html#5">source</a><ahref="#impl-Serialize-for-Config"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="../../serde/ser/trait.Serialize.html"title="trait serde::ser::Serialize">Serialize</a> for <aclass="struct"href="struct.Config.html"title="struct edb::config::Config">Config</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.serialize"class="method trait-impl"><aclass="src rightside"href="../../src/edb/config.rs.html#5">source</a><ahref="#method.serialize"class="anchor">§</a><h4class="code-header">fn <ahref="../../serde/ser/trait.Serialize.html#tymethod.serialize"class="fn">serialize</a><__S>(&self, __serializer: __S) -><aclass="enum"href="https://doc.rust-lang.org/1.77.2/core/result/enum.Result.html"title="enum core::result::Result">Result</a><__S::<aclass="associatedtype"href="../../serde/ser/trait.Serializer.html#associatedtype.Ok"title="type serde::ser::Serializer::Ok">Ok</a>, __S::<aclass="associatedtype"href="../../serde/ser/trait.Serializer.html#associatedtype.Error"title="type serde::ser::Serializer::Error">Error</a>><divclass="where">where
__S: <aclass="trait"href="../../serde/ser/trait.Serializer.html"title="trait serde::ser::Serializer">Serializer</a>,</div></h4></section></summary><divclass='docblock'>Serialize this value into the given Serde serializer. <ahref="../../serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></div></details></div></details></div><h2id="synthetic-implementations"class="section-header">Auto Trait Implementations<ahref="#synthetic-implementations"class="anchor">§</a></h2><divid="synthetic-implementations-list"><sectionid="impl-RefUnwindSafe-for-Config"class="impl"><ahref="#impl-RefUnwindSafe-for-Config"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/panic/unwind_safe/trait.RefUnwindSafe.html"title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <aclass="struct"href="struct.Config.html"title="struct edb::config::Config">Config</a></h3></section><sectionid="impl-Send-for-Config"class="impl"><ahref="#impl-Send-for-Config"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> for <aclass="struct"href="struct.Config.html"title="struct edb::config::Config">Config</a></h3></section><sectionid="impl-Sync-for-Config"class="impl"><ahref="#impl-Sync-for-Config"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a> for <aclass="struct"href="struct.Config.html"title="struct edb::config::Config">Config</a></h3></section><sectionid="impl-Unpin-for-Config"class="impl"><ahref="#impl-Unpin-for-Config"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/marker/trait.Unpin.html"title="trait core::marker::Unpin">Unpin</a> for <aclass="struct"href="struct.Config.html"title="struct edb::config::Config">Config</a></h3></section><sectionid="impl-UnwindSafe-for-Config"class="impl"><ahref="#impl-UnwindSafe-for-Config"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/panic/unwind_safe/trait.UnwindSafe.html"title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <aclass="struct"href="struct.Config.html"title="struct edb::config::Config">Config</a></h3></section></div><h2id="blanket-implementations"class="section-header">Blanket Implementations<ahref="#blanket-implementations"class="anchor">§</a></h2><divid="blanket-implementations-list"><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Any-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/any.rs.html#140">source</a><ahref="#impl-Any-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/any/trait.Any.html"title="trait core::any::Any">Any</a> for T<divclass="where">where
T: 'static + ?<aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.type_id"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/any.rs.html#141">source</a><ahref="#method.type_id"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.77.2/core/any/trait.Any.html#tymethod.type_id"class="fn">type_id</a>(&self) -><aclass="struct"href="https://doc.rust-lang.org/1.77.2/core/any/struct.TypeId.html"title="struct core::any::TypeId">TypeId</a></h4></section></summary><divclass='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <ahref="https://doc.rust-lang.org/1.77.2/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Borrow%3CT%3E-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/borrow.rs.html#208">source</a><ahref="#impl-Borrow%3CT%3E-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/borrow/trait.Borrow.html"title="trait core::borrow::Borrow">Borrow</a><T> for T<divclass="where">where
T: ?<aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.borrow"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/borrow.rs.html#210">source</a><ahref="#method.borrow"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.77.2/core/borrow/trait.Borrow.html#tymethod.borrow"class="fn">borrow</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.reference.html">&T</a></h4></section></summary><divclass='docblock'>Immutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.77.2/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-BorrowMut%3CT%3E-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/borrow.rs.html#216">source</a><ahref="#impl-BorrowMut%3CT%3E-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/borrow/trait.BorrowMut.html"title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T<divclass="where">where
T: ?<aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/marker/trait.Sized.html"title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.borrow_mut"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/borrow.rs.html#217">source</a><ahref="#method.borrow_mut"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.77.2/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut"class="fn">borrow_mut</a>(&mut self) -><aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.reference.html">&mut T</a></h4></section></summary><divclass='docblock'>Mutably borrows from an owned value. <ahref="https://doc.rust-lang.org/1.77.2/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-From%3CT%3E-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/convert/mod.rs.html#764">source</a><ahref="#impl-From%3CT%3E-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.from"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/convert/mod.rs.html#767">source</a><ahref="#method.from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.77.2/core/convert/trait.From.html#tymethod.from"class="fn">from</a>(t: T) -> T</h4></section></summary><divclass="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-Instrument-for-T"class="impl"><aclass="src rightside"href="../../src/tracing/instrument.rs.html#325">source</a><ahref="#impl-Instrument-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="../../tracing/instrument/trait.Instrument.html"title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl"><aclass="src rightside"href="../../src/tracing/instrument.rs.html#86">source</a><ahref="#method.instrument"class="anchor">§</a><h4class="code-header">fn <ahref="../../tracing/instrument/trait.Instrument.html#method.instrument"class="fn">instrument</a>(self, span: <aclass="struct"href="../../tracing/span/struct.Span.html"title="struct tracing::span::Span">Span</a>) -><aclass="struct"href="../../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="../../tracing/span/struct.Span.html"title="struct tracing::span::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <ahref="../../tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl"><aclass="src rightside"href="../../src/tracing/instrument.rs.html#128">source</a><ahref="#method.in_current_span"class="anchor">§</a><h4class="code-header">fn <ahref="../../tracing/instrument/trait.Instrument.html#method.in_current_span"class="fn">in_current_span</a>(self) -><aclass="struct"href="../../tracing/instrument/struct.Instrumented.html"title="struct tracing::instrument::Instrumented">Instrumented</a><Self></h4></section></summary><divclass='docblock'>Instruments this type with the <ahref="../../tracing/span/struct.Span.html#method.current"title="associated function tracing::span::Span::current">current</a><ahref="../../tracing/span/struct.Span.html"title="struct tracing::span::Span"><code>Span</code></a>, returning an
<code><ahref="https://doc.rust-lang.org/1.77.2/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-IntoEither-for-T"class="impl"><aclass="src rightside"href="../../src/either/into_either.rs.html#64">source</a><ahref="#impl-IntoEither-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="../../either/into_either/trait.IntoEither.html"title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.into_either"class="method trait-impl"><aclass="src rightside"href="../../src/either/into_either.rs.html#29">source</a><ahref="#method.into_either"class="anchor">§</a><h4class="code-header">fn <ahref="../../either/into_either/trait.IntoEither.html#method.into_either"class="fn">into_either</a>(self, into_left: <aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.bool.html">bool</a>) -><aclass="enum"href="../../either/enum.Either.html"title="enum either::Either">Either</a><Self, Self></h4></section></summary><divclass='docblock'>Converts <code>self</code> into a <ahref="../../either/enum.Either.html#variant.Left"title="variant either::Either::Left"><code>Left</code></a> variant of <ahref="../../either/enum.Either.html"title="enum either::Either"><code>Either<Self, Self></code></a>
if <code>into_left</code> is <code>true</code>.
Converts <code>self</code> into a <ahref="../../either/enum.Either.html#variant.Right"title="variant either::Either::Right"><code>Right</code></a> variant of <ahref="../../either/enum.Either.html"title="enum either::Either"><code>Either<Self, Self></code></a>
F: <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/ops/function/trait.FnOnce.html"title="trait core::ops::function::FnOnce">FnOnce</a>(<aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.reference.html">&Self</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.bool.html">bool</a>,</div></h4></section></summary><divclass='docblock'>Converts <code>self</code> into a <ahref="../../either/enum.Either.html#variant.Left"title="variant either::Either::Left"><code>Left</code></a> variant of <ahref="../../either/enum.Either.html"title="enum either::Either"><code>Either<Self, Self></code></a>
if <code>into_left(&self)</code> returns <code>true</code>.
Converts <code>self</code> into a <ahref="../../either/enum.Either.html#variant.Right"title="variant either::Either::Right"><code>Right</code></a> variant of <ahref="../../either/enum.Either.html"title="enum either::Either"><code>Either<Self, Self></code></a>
C: <aclass="trait"href="../../owo_colors/trait.Color.html"title="trait owo_colors::Color">Color</a>,</div></h4></section></summary><divclass='docblock'>Set the foreground color generically <ahref="../../owo_colors/trait.OwoColorize.html#method.fg">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.bg"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#283">source</a><ahref="#method.bg"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.bg"class="fn">bg</a><C>(&self) -><aclass="struct"href="../../owo_colors/struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, C, Self><divclass="where">where
C: <aclass="trait"href="../../owo_colors/trait.Color.html"title="trait owo_colors::Color">Color</a>,</div></h4></section></summary><divclass='docblock'>Set the background color generically. <ahref="../../owo_colors/trait.OwoColorize.html#method.bg">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.black"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#287-347">source</a><ahref="#method.black"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.black"class="fn">black</a>(&self) -><aclass="struct"href="../../owo_colors/struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="../../owo_colors/colors/struct.Black.html"title="struct owo_colors::colors::Black">Black</a>, Self></h4></section></summary><divclass='docblock'>Change the foreground color to black</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_black"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#287-347">source</a><ahref="#method.on_black"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.on_black"class="fn">on_black</a>(&self) -><aclass="struct"href="../../owo_colors/struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="../../owo_colors/colors/struct.Black.html"title="struct owo_colors::colors::Black">Black</a>, Self></h4></section></summary><divclass='docblock'>Change the background color to black</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.red"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#287-347">source</a><ahref="#method.red"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.red"class="fn">red</a>(&self) -><aclass="struct"href="../../owo_colors/struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="../../owo_colors/colors/struct.Red.html"title="struct owo_colors::colors::Red">Red</a>, Self></h4></section></summary><divclass='docblock'>Change the foreground color to red</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_red"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#287-347">source</a><ahref="#method.on_red"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.on_red"class="fn">on_red</a>(&self) -><aclass="struct"href="../../owo_colors/struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="../../owo_colors/colors/struct.Red.html"title="struct owo_colors::colors::Red">Red</a>, Self></h4></section></summary><divclass='docblock'>Change the background color to red</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.green"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#287-347">source</a><ahref="#method.green"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.green"class="fn">green</a>(&self) -><aclass="struct"href="../../owo_colors/struct.FgColorDisplay.html"title="struct owo_colors::FgColorDisplay">FgColorDisplay</a><'_, <aclass="struct"href="../../owo_colors/colors/struct.Green.html"title="struct owo_colors::colors::Green">Green</a>, Self></h4></section></summary><divclass='docblock'>Change the foreground color to green</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_green"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#287-347">source</a><ahr
Color: <aclass="trait"href="../../owo_colors/trait.DynColor.html"title="trait owo_colors::DynColor">DynColor</a>,</div></h4></section></summary><divclass='docblock'>Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either <ahref="../../owo_colors/trait.OwoColorize.html#method.fg"title="method owo_colors::OwoColorize::fg"><code>OwoColorize::fg</code></a> or
a color-specific method, such as <ahref="../../owo_colors/trait.OwoColorize.html#method.green"title="method owo_colors::OwoColorize::green"><code>OwoColorize::green</code></a>, <ahref="../../owo_colors/trait.OwoColorize.html#method.color">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_color"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#396">source</a><ahref="#method.on_color"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.on_color"class="fn">on_color</a><Color>(&self, color: Color) -><aclass="struct"href="../../owo_colors/struct.BgDynColorDisplay.html"title="struct owo_colors::BgDynColorDisplay">BgDynColorDisplay</a><'_, Color, Self><divclass="where">where
Color: <aclass="trait"href="../../owo_colors/trait.DynColor.html"title="trait owo_colors::DynColor">DynColor</a>,</div></h4></section></summary><divclass='docblock'>Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either <ahref="../../owo_colors/trait.OwoColorize.html#method.bg"title="method owo_colors::OwoColorize::bg"><code>OwoColorize::bg</code></a> or
) -><aclass="struct"href="../../owo_colors/struct.BgColorDisplay.html"title="struct owo_colors::BgColorDisplay">BgColorDisplay</a><'_, <aclass="struct"href="../../owo_colors/colors/custom/struct.CustomColor.html"title="struct owo_colors::colors::custom::CustomColor">CustomColor</a><R, G, B>, Self></h4></section></summary><divclass='docblock'>Set the background color to a specific RGB value.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.truecolor"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#419">source</a><ahref="#method.truecolor"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.truecolor"class="fn">truecolor</a>(&self, r: <aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.u8.html">u8</a>, g: <aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.u8.html">u8</a>, b: <aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.u8.html">u8</a>) -><aclass="struct"href="../../owo_colors/struct.FgDynColorDisplay.html"title="struct owo_colors::FgDynColorDisplay">FgDynColorDisplay</a><'_, <aclass="struct"href="../../owo_colors/colors/dynamic/struct.Rgb.html"title="struct owo_colors::colors::dynamic::Rgb">Rgb</a>, Self></h4></section></summary><divclass='docblock'>Sets the foreground color to an RGB value.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.on_truecolor"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#426">source</a><ahref="#method.on_truecolor"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.on_truecolor"class="fn">on_truecolor</a>(&self, r: <aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.u8.html">u8</a>, g: <aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.u8.html">u8</a>, b: <aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.u8.html">u8</a>) -><aclass="struct"href="../../owo_colors/struct.BgDynColorDisplay.html"title="struct owo_colors::BgDynColorDisplay">BgDynColorDisplay</a><'_, <aclass="struct"href="../../owo_colors/colors/dynamic/struct.Rgb.html"title="struct owo_colors::colors::dynamic::Rgb">Rgb</a>, Self></h4></section></summary><divclass='docblock'>Sets the background color to an RGB value.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.style"class="method trait-impl"><aclass="src rightside"href="../../src/owo_colors/lib.rs.html#432">source</a><ahref="#method.style"class="anchor">§</a><h4class="code-header">fn <ahref="../../owo_colors/trait.OwoColorize.html#method.style"class="fn">style</a>(&self, style: <aclass="struct"href="../../owo_colors/dyn_styles/struct.Style.html"title="struct owo_colors::dyn_styles::Style">Style</a>) -><aclass="struct"href="../../owo_colors/dyn_styles/struct.Styled.html"title="struct owo_colors::dyn_styles::Styled">Styled</a><<aclass="primitive"href="https://doc.rust-lang.org/1.77.2/std/primitive.reference.html">&Self</a>></h4></section></summary><divclass='docblock'>Apply a runtime-determined style</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryFrom%3CU%3E-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/convert/mod.rs.html#804-806">source</a><ahref="#impl-TryFrom%3CU%3E-for-T"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T<divclass="where">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error-1"class="associatedtype trait-impl"><ahref="#associatedtype.Error-1"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.77.2/core/convert/enum.Infallible.html"title="enum core::convert::Infallible">Infallible</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_from"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/convert/mod.rs.html#811">source</a><ahref="#method.try_from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html#tymethod.try_from"class="fn">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.77.2/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'>Performs the conversion.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-TryInto%3CU%3E-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/convert/mod.rs.html#789-791">source</a><ahref="#impl-TryInto%3CU%3E-for-T"class="anchor">§</a><h3class="code-header">impl<T, U><aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T<divclass="where">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Error"class="associatedtype trait-impl"><ahref="#associatedtype.Error"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><divclass='docblock'>The type returned in the event of a conversion error.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_into"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.77.2/src/core/convert/mod.rs.html#796">source</a><ahref="#method.try_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryInto.html#tymethod.try_into"class="fn">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.77.2/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.TryFrom.html#associatedtype.Error"title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><divclass='docblock'>Performs the conversion.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-WithSubscriber-for-T"class="impl"><aclass="src rightside"href="../../src/tracing/instrument.rs.html#393">source</a><ahref="#impl-WithSubscriber-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="../../tracing/instrument/trait.WithSubscriber.html"title="trait tracing::instrument::WithSubscriber">WithSubscriber</a> for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.with_subscriber"class="method trait-impl"><aclass="src rightside"href="../../src/tracing/instrument.rs.html#176-178">source</a><ahref="#method.with_subscriber"class="anchor">§</a><h4class="code-header">fn <ahref="../../tracing/instrument/trait.WithSubscriber.html#method.with_subscriber"class="fn">with_subscriber</a><S>(self, subscriber: S) -><aclass="struct"href="../../tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self><divclass="where">where
S: <aclass="trait"href="https://doc.rust-lang.org/1.77.2/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><<aclass="struct"href="../../tracing_core/dispatcher/struct.Dispatch.html"title="struct tracing_core::dispatcher::Dispatch">Dispatch</a>>,</div></h4></section></summary><divclass='docblock'>Attaches the provided <ahref="../../tracing_core/subscriber/trait.Subscriber.html"title="trait tracing_core::subscriber::Subscriber"><code>Subscriber</code></a> to this type, returning a
<ahref="../../tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <ahref="../../tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl"><aclass="src rightside"href="../../src/tracing/instrument.rs.html#228">source</a><ahref="#method.with_current_subscriber"class="anchor">§</a><h4class="code-header">fn <ahref="../../tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber"class="fn">with_current_subscriber</a>(self) -><aclass="struct"href="../../tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch">WithDispatch</a><Self></h4></section></summary><divclass='docblock'>Attaches the current <ahref="../../tracing/dispatcher/index.html#setting-the-default-subscriber"title="mod tracing::dispatcher">default</a><ahref="../../tracing_core/subscriber/trait.Subscriber.html"title="trait tracing_core::subscriber::Subscriber"><code>Subscriber</code></a> to this type, returning a
<ahref="../../tracing/instrument/struct.WithDispatch.html"title="struct tracing::instrument::WithDispatch"><code>WithDispatch</code></a> wrapper. <ahref="../../tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details><sectionid="impl-DeserializeOwned-for-T"class="impl"><aclass="src rightside"href="../../src/serde/de/mod.rs.html#608">source</a><ahref="#impl-DeserializeOwned-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="../../serde/de/trait.DeserializeOwned.html"title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T<divclass="where">where