<!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 `MAP` struct in crate `headless`."><title>MAP in headless - 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-9ee3a5e31a2afa3e.css"><metaname="rustdoc-vars"data-root-path="../"data-static-root-path="../static.files/"data-current-crate="headless"data-themes=""data-resource-suffix=""data-rustdoc-version="1.75.0 (82e1608df 2023-12-21)"data-channel="1.75.0"data-search-js="search-8fbf244ebcf71464.js"data-settings-js="settings-74424d7eec62a23e.js"><scriptsrc="../static.files/storage-fec3eaa3851e447d.js"></script><scriptdefersrc="sidebar-items.js"></script><scriptdefersrc="../static.files/main-9dd44ab47b99a0fb.js"></script><noscript><linkrel="stylesheet"href="../static.files/noscript-5d8b3c7633ad77ba.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">☰</button></nav><navclass="sidebar"><divclass="sidebar-crate"><h2><ahref="../headless/index.html">headless</a><spanclass="version">0.1.0</span></h2></div><h2class="location"><ahref="#">MAP</a></h2><divclass="sidebar-elems"><section><h3><ahref="#fields">Fields</a></h3><ulclass="block structfield"><li><ahref="#structfield.__private_field">__private_field</a></li></ul><h3><ahref="#deref-methods-RwLock%3CMap%3E">Methods from Deref<Target=RwLock<Map>></a></h3><ulclass="block deref-methods"><li><ahref="#method.clear_poison">clear_poison</a></li><li><ahref="#method.is_poisoned">is_poisoned</a></li><li><ahref="#method.read">read</a></li><li><ahref="#method.try_read">try_read</a></li><li><ahref="#method.try_write">try_write</a></li><li><ahref="#method.write">write</a></li></ul><h3><ahref="#trait-implementations">Trait Implementations</a></h3><ulclass="block trait-implementation"><li><ahref="#impl-__Deref-for-MAP">Deref</a></li><li><ahref="#impl-LazyStatic-for-MAP">LazyStatic</a></li></ul><h3><ahref="#synthetic-implementations">Auto Trait Implementations</a></h3><ulclass="block synthetic-implementation"><li><ahref="#impl-RefUnwindSafe-for-MAP">RefUnwindSafe</a></li><li><ahref="#impl-Send-for-MAP">Send</a></li><li><ahref="#impl-Sync-for-MAP">Sync</a></li><li><ahref="#impl-Unpin-for-MAP">Unpin</a></li><li><ahref="#impl-UnwindSafe-for-MAP">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-Downcast-for-T">Downcast</a></li><li><ahref="#impl-DowncastSync-for-T">DowncastSync</a></li><li><ahref="#impl-From%3CT%3E-for-T">From<
) -><aclass="enum"href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="https://doc.rust-lang.org/1.75.0/std/sync/rwlock/struct.RwLockReadGuard.html"title="struct std::sync::rwlock::RwLockReadGuard">RwLockReadGuard</a><'_, T>, <aclass="struct"href="https://doc.rust-lang.org/1.75.0/std/sync/poison/struct.PoisonError.html"title="struct std::sync::poison::PoisonError">PoisonError</a><<aclass="struct"href="https://doc.rust-lang.org/1.75.0/std/sync/rwlock/struct.RwLockReadGuard.html"title="struct std::sync::rwlock::RwLockReadGuard">RwLockReadGuard</a><'_, T>>></h4></section></summary><divclass="docblock"><p>Locks this <code>RwLock</code> with shared read access, blocking the current thread
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_read"class="method"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/1.75.0/src/std/sync/rwlock.rs.html#253">source</a></span><h4class="code-header">pub fn <ahref="#method.try_read"class="fn">try_read</a>(
<p>This function will return the <ahref="https://doc.rust-lang.org/1.75.0/std/sync/poison/enum.TryLockError.html#variant.Poisoned"title="variant std::sync::poison::TryLockError::Poisoned"><code>Poisoned</code></a> error if the <code>RwLock</code> is
<p>This function will return the <ahref="https://doc.rust-lang.org/1.75.0/std/sync/poison/enum.TryLockError.html#variant.WouldBlock"title="variant std::sync::poison::TryLockError::WouldBlock"><code>WouldBlock</code></a> error if the <code>RwLock</code> could
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.write"class="method"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/1.75.0/src/std/sync/rwlock.rs.html#296">source</a></span><h4class="code-header">pub fn <ahref="#method.write"class="fn">write</a>(
) -><aclass="enum"href="https://doc.rust-lang.org/1.75.0/core/result/enum.Result.html"title="enum core::result::Result">Result</a><<aclass="struct"href="https://doc.rust-lang.org/1.75.0/std/sync/rwlock/struct.RwLockWriteGuard.html"title="struct std::sync::rwlock::RwLockWriteGuard">RwLockWriteGuard</a><'_, T>, <aclass="struct"href="https://doc.rust-lang.org/1.75.0/std/sync/poison/struct.PoisonError.html"title="struct std::sync::poison::PoisonError">PoisonError</a><<aclass="struct"href="https://doc.rust-lang.org/1.75.0/std/sync/rwlock/struct.RwLockWriteGuard.html"title="struct std::sync::rwlock::RwLockWriteGuard">RwLockWriteGuard</a><'_, T>>></h4></section></summary><divclass="docblock"><p>Locks this <code>RwLock</code> with exclusive write access, blocking the current
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.try_write"class="method"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.0.0">1.0.0</span> · <aclass="src"href="https://doc.rust-lang.org/1.75.0/src/std/sync/rwlock.rs.html#342">source</a></span><h4class="code-header">pub fn <ahref="#method.try_write"class="fn">try_write</a>(
<p>This function will return the <ahref="https://doc.rust-lang.org/1.75.0/std/sync/poison/enum.TryLockError.html#variant.Poisoned"title="variant std::sync::poison::TryLockError::Poisoned"><code>Poisoned</code></a> error if the <code>RwLock</code> is
<p>This function will return the <ahref="https://doc.rust-lang.org/1.75.0/std/sync/poison/enum.TryLockError.html#variant.WouldBlock"title="variant std::sync::poison::TryLockError::WouldBlock"><code>WouldBlock</code></a> error if the <code>RwLock</code> could
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.is_poisoned"class="method"><spanclass="rightside"><spanclass="since"title="Stable since Rust version 1.2.0">1.2.0</span> · <aclass="src"href="https://doc.rust-lang.org/1.75.0/src/std/sync/rwlock.rs.html#375">source</a></span><h4class="code-header">pub fn <ahref="#method.is_poisoned"class="fn">is_poisoned</a>(&self) -><aclass="primitive"href="https://doc.rust-lang.org/1.75.0/std/primitive.bool.html">bool</a></h4></section></summary><divclass="docblock"><p>Determines whether the lock is poisoned.</p>
</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.clear_poison"class="method"><aclass="src rightside"href="https://doc.rust-lang.org/1.75.0/src/std/sync/rwlock.rs.html#414">source</a><h4class="code-header">pub fn <ahref="#method.clear_poison"class="fn">clear_poison</a>(&self)</h4></section><spanclass="item-info"><divclass="stab unstable"><spanclass="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>mutex_unpoison</code>)</span></div></span></summary><divclass="docblock"><p>Clear the poisoned state from a lock</p>
then be further <code>downcast</code> into <code>Box<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.into_any_rc"class="method trait-impl"><ahref="#method.into_any_rc"class="anchor">§</a><h4class="code-header">fn <aclass="fn">into_any_rc</a>(self: <aclass="struct"href="https://doc.rust-lang.org/1.75.0/alloc/rc/struct.Rc.html"title="struct alloc::rc::Rc">Rc</a><T>) -><aclass="struct"href="https://doc.rust-lang.org/1.75.0/alloc/rc/struct.Rc.html"title="struct alloc::rc::Rc">Rc</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a>></h4></section></summary><divclass='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
further <code>downcast</code> into <code>Rc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.as_any"class="method trait-impl"><ahref="#method.as_any"class="anchor">§</a><h4class="code-header">fn <aclass="fn">as_any</a>(&self) ->&(dyn <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><divclass='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.as_any_mut"class="method trait-impl"><ahref="#method.as_any_mut"class="anchor">§</a><h4class="code-header">fn <aclass="fn">as_any_mut</a>(&mut self) ->&mut (dyn <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><divclass='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><detailsclass="toggle implementors-toggle"><summary><sectionid="impl-DowncastSync-for-T"class="impl"><ahref="#impl-DowncastSync-for-T"class="anchor">§</a><h3class="code-header">impl<T> DowncastSync for T<spanclass="where fmt-newline">where
T: <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> + <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a>,</span></h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.into_any_arc"class="method trait-impl"><ahref="#method.into_any_arc"class="anchor">§</a><h4class="code-header">fn <aclass="fn">into_any_arc</a>(self: <aclass="struct"href="https://doc.rust-lang.org/1.75.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><T>) -><aclass="struct"href="https://doc.rust-lang.org/1.75.0/alloc/sync/struct.Arc.html"title="struct alloc::sync::Arc">Arc</a><dyn <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/any/trait.Any.html"title="trait core::any::Any">Any</a> + <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Send.html"title="trait core::marker::Send">Send</a> + <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/marker/trait.Sync.html"title="trait core::marker::Sync">Sync</a>></h4></section></summary><divclass='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
further <code>downcast</code> into <code>Arc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</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.75.0/src/core/convert/mod.rs.html#763">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.75.0/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.75.0/src/core/convert/mod.rs.html#766">source</a><ahref="#method.from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.75.0/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"><ahref="#impl-Instrument-for-T"class="anchor">§</a><h3class="code-header">impl<T> Instrument for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle method-toggle"open><summary><sectionid="method.instrument"class="method trait-impl"><ahref="#method.instrument"class="anchor">§</a><h4class="code-header">fn <aclass="fn">instrument</a>(self, span: Span) -> Instrumented<Self></h4></section></summary><divclass='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.in_current_span"class="method trait-impl"><ahref="#method.in_current_span"class="anchor">§</a><h4class="code-header">fn <aclass="fn">in_current_span</a>(self) -> Instrumented<Self></h4></section></summary><divclass='docblock'>Instruments this type with the <ahref="super::Span::current()">current</a><ahref="crate::Span"><code>Span</code></a>, returning an
<code><ahref="https://doc.rust-lang.org/1.75.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-Pointable-for-T"class="impl"><ahref="#impl-Pointable-for-T"class="anchor">§</a><h3class="code-header">impl<T> Pointable for T</h3></section></summary><divclass="impl-items"><detailsclass="toggle"open><summary><sectionid="associatedconstant.ALIGN"class="associatedconstant trait-impl"><ahref="#associatedconstant.ALIGN"class="anchor">§</a><h4class="code-header">const <aclass="constant">ALIGN</a>: <aclass="primitive"href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a> = _</h4></section></summary><divclass='docblock'>The alignment of pointer.</div></details><detailsclass="toggle"open><summary><sectionid="associatedtype.Init"class="associatedtype trait-impl"><ahref="#associatedtype.Init"class="anchor">§</a><h4class="code-header">type <aclass="associatedtype">Init</a> = T</h4></section></summary><divclass='docblock'>The type for initializers.</div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.init"class="method trait-impl"><ahref="#method.init"class="anchor">§</a><h4class="code-header">unsafe fn <aclass="fn">init</a>(init: <T as Pointable>::Init) -><aclass="primitive"href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a></h4></section></summary><divclass='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.deref-1"class="method trait-impl"><ahref="#method.deref-1"class="anchor">§</a><h4class="code-header">unsafe fn <aclass="fn">deref</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a T</a></h4></section></summary><divclass='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.deref_mut"class="method trait-impl"><ahref="#method.deref_mut"class="anchor">§</a><h4class="code-header">unsafe fn <aclass="fn">deref_mut</a><'a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>) -><aclass="primitive"href="https://doc.rust-lang.org/1.75.0/std/primitive.reference.html">&'a mut T</a></h4></section></summary><divclass='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.drop"class="method trait-impl"><ahref="#method.drop"class="anchor">§</a><h4class="code-header">unsafe fn <aclass="fn">drop</a>(ptr: <aclass="primitive"href="https://doc.rust-lang.org/1.75.0/std/primitive.usize.html">usize</a>)</h4></section></summary><divclass='docblock'>Drops the object pointed to by the given pointer. <a>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.75.0/src/core/convert/mod.rs.html#803-805">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.75.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U> for T<spanclass="where fmt-newline">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><T>,</span></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.75.0/core/convert/trait.TryFrom.html#associatedtype.Error"class="associatedtype">Error</a> = <aclass="enum"href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#810">source</a><ahref="#method.try_from"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.75.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.75.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.75.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><U>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#788-790">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.75.0/core/convert/trait.TryInto.html"title="trait core::convert::TryInto">TryInto</a><U> for T<spanclass="where fmt-newline">where
U: <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>,</span></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.75.0/core/convert/trait.TryInto.html#associatedtype.Error"class="associatedtype">Error</a> = <U as <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.75.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.75.0/src/core/convert/mod.rs.html#795">source</a><ahref="#method.try_into"class="anchor">§</a><h4class="code-header">fn <ahref="https://doc.rust-lang.org/1.75.0/core/convert/trait.TryInto.html#tymethod.try_into"class="fn">try_into</a>(self) -><aclass="enum"href="https://doc.rust-lang.org/1.75.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.75.0/core/convert/trait.TryFrom.html"title="trait core::convert::TryFrom">TryFrom</a><T>>::<aclass="associatedtype"href="https://doc.rust-lang.org/1.75.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-VZip%3CV%3E-for-T"class="impl"><ahref="#impl-VZip%3CV%3E-for-T"class="anchor">§</a><h3class="code-header">impl<V, T> VZip<V> for T<spanclass="where fmt-newline">where
S: <aclass="trait"href="https://doc.rust-lang.org/1.75.0/core/convert/trait.Into.html"title="trait core::convert::Into">Into</a><Dispatch>,</span></h4></section></summary><divclass='docblock'>Attaches the provided <ahref="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><detailsclass="toggle method-toggle"open><summary><sectionid="method.with_current_subscriber"class="method trait-impl"><ahref="#method.with_current_subscriber"class="anchor">§</a><h4class="code-header">fn <aclass="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><divclass='docblock'>Attaches the current <ahref="crate::dispatcher#setting-the-default-subscriber">default</a><ahref="super::Subscriber"><code>Subscriber</code></a> to this type, returning a