<!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 `Cli` struct in crate `edb`."><title>Cli in edb - 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.1 (7cf61ebde 2024-03-27)"data-channel="1.77.1"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.16</span></h2></div><h2class="location"><ahref="#">Cli</a></h2><divclass="sidebar-elems"><section><h3><ahref="#fields">Fields</a></h3><ulclass="block structfield"><li><ahref="#structfield.command">command</a></li></ul><h3><ahref="#trait-implementations">Trait Implementations</a></h3><ulclass="block trait-implementation"><li><ahref="#impl-Args-for-Cli">Args</a></li><li><ahref="#impl-CommandFactory-for-Cli">CommandFactory</a></li><li><ahref="#impl-Debug-for-Cli">Debug</a></li><li><ahref="#impl-FromArgMatches-for-Cli">FromArgMatches</a></li><li><ahref="#impl-Parser-for-Cli">Parser</a></li></ul><h3><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ulclass="block synthetic-implementation"><li><ahref="#impl-RefUnwindSafe-for-Cli">RefUnwindSafe</a></li><li><ahref="#impl-Send-for-Cli">Send</a></li><li><ahref="#impl-Sync-for-Cli">Sync</a></li><li><ahref="#impl-Unpin-for-Cli">Unpin</a></li><li><ahref="#impl-UnwindSafe-for-Cli">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-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-OwoColorize-for-D">OwoColorize</a></li><li><ahref="#impl-TryFrom%3CU%3E-for-T">TryFrom<U></a></li><li><ahref="#impl-TryInto%3CU%3E-for-T">TryInto<U></a></li><li><ahref="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></s
<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><aclass="struct"href="#">Cli</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/main.rs.html#18-21">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><preclass="rust item-decl"><code>pub struct Cli {
}</code></pre><h2id="fields"class="fields section-header">Fields<ahref="#fields"class="anchor">§</a></h2><spanid="structfield.command"class="structfield section-header"><ahref="#structfield.command"class="anchor field">§</a><code>command: <aclass="enum"href="enum.Commands.html"title="enum edb::Commands">Commands</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-Args-for-Cli"class="impl"><aclass="src rightside"href="../src/edb/main.rs.html#16">source</a><ahref="#impl-Args-for-Cli"class="anchor">§</a><h3class="code-header">impl <aclass="trait"href="../clap_builder/derive/trait.Args.html"title="trait clap_builder::derive::Args">Args</a> for <aclass="struct"href="struct.Cli.html"title="struct edb::Cli">Cli</a></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.group_id"class="method trait-impl"><aclass="src rightside"href="../src/edb/main.rs.html#16">source</a><ahref="#method.group_id"class="anchor">§</a><h4class="code-header">fn <ahref="../clap_builder/derive/trait.Args.html#method.group_id"class="fn">group_id</a>() -><aclass="enum"href="https://doc.rust-lang.org/1.77.1/core/option/enum.Option.html"title="enum core::option::Option">Option</a><<aclass="struct"href="../clap_builder/util/id/struct.Id.html"title="struct clap_builder::util::id::Id">Id</a>></h4></section></summary><divclass='docblock'>Report the <ahref="../clap_builder/builder/arg_group/struct.ArgGroup.html#method.id"title="method clap_builder::builder::arg_group::ArgGroup::id"><code>ArgGroup::id</code></a> for this set of arguments</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.augment_args"class="method trait-impl"><aclass="src rightside"href="../src/edb/main.rs.html#16">source</a><ahref="#method.augment_args"class="anchor">§</a><h4class="code-header">fn <ahref="../clap_builder/derive/trait.Args.html#tymethod.augment_args"class="fn">augment_args</a><'b>(__clap_app: <aclass="struct"href="../clap_builder/builder/command/struct.Command.html"title="struct clap_builder::builder::command::Command">Command</a>) -><aclass="struct"href="../clap_builder/builder/command/struct.Command.html"title="struct clap_builder::builder::command::Command">Command</a></h4></section></summary><divclass='docblock'>Append to <ahref="../clap_builder/builder/command/struct.Command.html"title="struct clap_builder::builder::command::Command"><code>Command</code></a> so it can instantiate <code>Self</code>. <ahref="../clap_builder/derive/trait.Args.html#tymethod.augment_args">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.augment_args_for_update"class="method trait-impl"><aclass="src rightside"href="../src/edb/main.rs.html#16">source</a><ahref="#method.augment_args_for_update"class="anchor">§</a><h4class="code-header">fn <ahref="../clap_builder/derive/trait.Args.html#tymethod.augment_args_for_update"class="fn">augment_args_for_update</a><'b>(__clap_app: <aclass="struct"href="../clap_builder/builder/command/struct.Command.html"title="struct clap_builder::builder::command::Command">Command</a>) -><aclass="struct"href="../clap_builder/builder/command/struct.Command.html"title="struct clap_builder::builder::command::Command">Command</a></h4></section></summary><divclass='docblock'>Append to <ahref="../clap_builder/builder/command/struct.Command.html"title="struct clap_builder::builder::command::Command"><code>Command</code></a> so it can update <code>self</code>. <ahref="../clap_builder/derive/trait.Args.html#tymethod.augment_args_for_update">Read more</a></div></details></div></details><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-CommandFactory-for-Cli"class="impl"><aclass="srcrigh
</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.1/core/convert/trait.From.html"title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
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><ahref="#method.on_green"class="anchor">§</a><h4class="code-header">fn
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.1/std/primitive.u8.html">u8</a>, g: <aclass="primitive"href="https://doc.rust-lang.org/1.77.1/std/primitive.u8.html">u8</a>, b: <aclass="primitive"href="https://doc.rust-lang.org/1.77.1/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.1/std/primitive.u8.html">u8</a>, g: <aclass="primitive"href="https://doc.rust-lang.org/1.77.1/std/primitive.u8.html">u8</a>, b: <aclass="primitive"href="https://doc.rust-lang.org/1.77.1/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.1/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.1/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.1/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.1/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.1/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.77.1/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.1/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.1/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.1/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.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.77.1/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.1/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.1/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.1/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.1/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.77.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.77.1/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.1/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.1/core/convert/trait.TryInto.html#tymethod.try_into"class="fn">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.77.1/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.1/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.77.1/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.1/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