<main><divclass="width-limiter"><navclass="sub"><formclass="search-form"><span></span><divid="sidebar-button"tabindex="-1"><ahref="../../../tracing_subscriber/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">tracing_subscriber</a>::<wbr><ahref="../index.html">field</a>::<wbr><ahref="index.html">delimited</a>::<wbr><aclass="struct"href="#">Delimited</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/tracing_subscriber/field/delimited.rs.html#10-13">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><preclass="rust item-decl"><code>pub struct Delimited<D, V> { <spanclass="comment">/* private fields */</span> }</code></pre><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>A <code>MakeVisitor</code> wrapper that wraps a visitor that writes formatted output so
that a delimiter is inserted between writing formatted field values.</p>
</div></details><h2id="implementations"class="section-header">Implementations<ahref="#implementations"class="anchor">§</a></h2><divid="implementations-list"><detailsclass="toggle implementors-toggle"open><summary><sectionid="impl-Delimited%3CD,+V%3E"class="impl"><aclass="src rightside"href="../../../src/tracing_subscriber/field/delimited.rs.html#40-48">source</a><ahref="#impl-Delimited%3CD,+V%3E"class="anchor">§</a><h3class="code-header">impl<D, V><aclass="struct"href="struct.Delimited.html"title="struct tracing_subscriber::field::delimited::Delimited">Delimited</a><D, V></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.new"class="method"><aclass="src rightside"href="../../../src/tracing_subscriber/field/delimited.rs.html#45-47">source</a><h4class="code-header">pub fn <ahref="#method.new"class="fn">new</a>(delimiter: D, inner: V) -> Self</h4></section></summary><divclass="docblock"><p>Returns a new <ahref="../trait.MakeVisitor.html"title="trait tracing_subscriber::field::MakeVisitor"><code>MakeVisitor</code></a> implementation that wraps <code>inner</code> so that
it will format each visited field separated by the provided <code>delimiter</code>.</p>
V::<aclass="associatedtype"href="../trait.MakeVisitor.html#associatedtype.Visitor"title="type tracing_subscriber::field::MakeVisitor::Visitor">Visitor</a>: <aclass="trait"href="../trait.VisitFmt.html"title="trait tracing_subscriber::field::VisitFmt">VisitFmt</a>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Visitor"class="associatedtype trait-impl"><ahref="#associatedtype.Visitor"class="anchor">§</a><h4class="code-header">type <ahref="../trait.MakeVisitor.html#associatedtype.Visitor"class="associatedtype">Visitor</a> = <aclass="struct"href="struct.VisitDelimited.html"title="struct tracing_subscriber::field::delimited::VisitDelimited">VisitDelimited</a><D, <V as <aclass="trait"href="../trait.MakeVisitor.html"title="trait tracing_subscriber::field::MakeVisitor">MakeVisitor</a><T>>::<aclass="associatedtype"href="../trait.MakeVisitor.html#associatedtype.Visitor"title="type tracing_subscriber::field::MakeVisitor::Visitor">Visitor</a>></h4></section></summary><divclass='docblock'>The visitor type produced by this <code>MakeVisitor</code>.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.make_visitor"class="method trait-impl"><aclass="src rightside"href="../../../src/tracing_subscriber/field/delimited.rs.html#34-37">source</a><ahref="#method.make_visitor"class="anchor">§</a><h4class="code-header">fn <ahref="../trait.MakeVisitor.html#tymethod.make_visitor"class="fn">make_visitor</a>(&self, target: T) -> Self::<aclass="associatedtype"href="../trait.MakeVisitor.html#associatedtype.Visitor"title="type tracing_subscriber::field::MakeVisitor::Visitor">Visitor</a></h4></section></summary><divclass='docblock'>Make a new visitor for the provided <code>target</code>.</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-Freeze-for-Delimited%3CD,+V%3E"class="impl"><ahref="#impl-Freeze-for-Delimited%3CD,+V%3E"class="anchor">§</a><h3class="code-header">impl<D, V><aclass="trait"href="https://doc.rust-lang.org/1.78.0/core/marker/trait.Freeze.html"title="trait core::marker::Freeze">Freeze</a> for <aclass="struct"href="struct.Delimited.html"title="struct tracing_subscriber::field::delimited::Delimited">Delimited</a><D, V><divclass="where">where
</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.78.0/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-MakeExt%3CT%3E-for-M"class="impl"><aclass="src rightside"href="../../../src/tracing_subscriber/field/mod.rs.html#220-225">source</a><ahref="#impl-MakeExt%3CT%3E-for-M"class="anchor">§</a><h3class="code-header">impl<T, M><aclass="trait"href="../trait.MakeExt.html"title="trait tracing_subscriber::field::MakeExt">MakeExt</a><T> for M<divclass="where">where
M: <aclass="trait"href="../trait.MakeVisitor.html"title="trait tracing_subscriber::field::MakeVisitor">MakeVisitor</a><T> + Sealed<MakeExtMarker<T>>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.debug_alt"class="method trait-impl"><aclass="src rightside"href="../../../src/tracing_subscriber/field/mod.rs.html#137-139">source</a><ahref="#method.debug_alt"class="anchor">§</a><h4class="code-header">fn <ahref="../trait.MakeExt.html#method.debug_alt"class="fn">debug_alt</a>(self) -><aclass="struct"href="../debug/struct.Alt.html"title="struct tracing_subscriber::field::debug::Alt">Alt</a><Self></h4></section></summary><divclass='docblock'>Wraps <code>self</code> so that any <code>fmt::Debug</code> fields are recorded using the
alternate formatter (<code>{:#?}</code>).</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.display_messages"class="method trait-impl"><aclass="src rightside"href="../../../src/tracing_subscriber/field/mod.rs.html#143-145">source</a><ahref="#method.display_messages"class="anchor">§</a><h4class="code-header">fn <ahref="../trait.MakeExt.html#method.display_messages"class="fn">display_messages</a>(self) -><aclass="struct"href="../display/struct.Messages.html"title="struct tracing_subscriber::field::display::Messages">Messages</a><Self></h4></section></summary><divclass='docblock'>Wraps <code>self</code> so that any string fields named “message” are recorded
Self::<aclass="associatedtype"href="../trait.MakeVisitor.html#associatedtype.Visitor"title="type tracing_subscriber::field::MakeVisitor::Visitor">Visitor</a>: <aclass="trait"href="../trait.VisitFmt.html"title="trait tracing_subscriber::field::VisitFmt">VisitFmt</a>,</div></h4></section></summary><divclass='docblock'>Wraps <code>self</code> so that when fields are formatted to a writer, they are
separated by the provided <code>delimiter</code>.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-ToOwned-for-T"class="impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.78.0/src/alloc/borrow.rs.html#83-85">source</a><ahref="#impl-ToOwned-for-T"class="anchor">§</a><h3class="code-header">impl<T><aclass="trait"href="https://doc.rust-lang.org/1.78.0/alloc/borrow/trait.ToOwned.html"title="trait alloc::borrow::ToOwned">ToOwned</a> for T<divclass="where">where
T: <aclass="trait"href="https://doc.rust-lang.org/1.78.0/core/clone/trait.Clone.html"title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedtype.Owned"class="associatedtype trait-impl"><ahref="#associatedtype.Owned"class="anchor">§</a><h4class="code-header">type <ahref="https://doc.rust-lang.org/1.78.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned"class="associatedtype">Owned</a> = T</h4></section></summary><divclass='docblock'>The resulting type after obtaining ownership.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.to_owned"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.78.0/src/alloc/borrow.rs.html#88">source</a><ahref="#method.to_owned"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.78.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned"class="fn">to_owned</a>(&self) -> T</h4></section></summary><divclass='docblock'>Creates owned data from borrowed data, usually by cloning. <ahref="https://doc.rust-lang.org/1.78.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.clone_into"class="method trait-impl"><aclass="src rightside"href="https://doc.rust-lang.org/1.78.0/src/alloc/borrow.rs.html#92">source</a><ahref="#method.clone_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.78.0/alloc/borrow/trait.ToOwned.html#method.clone_into"class="fn">clone_into</a>(&self, target: <aclass="primitive"href="https://doc.rust-lang.org/1.78.0/std/primitive.reference.html">&mut T</a>)</h4></section></summary><divclass='docblock'>Uses borrowed data to replace owned data, usually by cloning. <ahref="https://doc.rust-lang.org/1.78.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></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.78.0/src/core/convert/mod.rs.html#805-807">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.78.0/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.78.0/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.78.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.78.0/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.78.0/src/core/convert/mod.rs.html#812">source</a><ahref="#method.try_from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.78.0/core/convert/trait.TryFrom.html#tymethod.try_from"class="fn">try_from</a>(value: U) -><aclass="enum"href="https://doc.rust-lang.org/1.78.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><T, <T as <aclass="trait"href="https://doc.rust-lang.org/1.78.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.78.0/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.78.0/src/core/convert/mod.rs.html#790-792">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.78.0/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.78.0/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.78.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.78.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.78.0/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.78.0/src/core/convert/mod.rs.html#797">source</a><ahref="#method.try_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.78.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fn">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.78.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><U, <U as <aclass="trait"href="https://doc.rust-lang.org/1.78.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.78.0/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.78.0/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