blob: d3bf3e8cc5e3904fbeae8ee8479465d861bb7f2a [file] [log] [blame]
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A value in a structured key-value pair."><meta name="keywords" content="rust, rustlang, rust-lang, Value"><title>Value in measure_time::kv - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../../normalize.css"><link rel="stylesheet" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../../ayu.css" disabled><link rel="stylesheet" href="../../dark.css" disabled><link rel="stylesheet" href="../../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../main.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../../favicon.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../measure_time/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../measure_time/index.html"><div class="logo-container"><img class="rust-logo" src="../../rust-logo.svg" alt="logo"></div></a><h2 class="location"><a href="#">Value</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.capture_debug">capture_debug</a></li><li><a href="#method.capture_display">capture_display</a></li><li><a href="#method.capture_error">capture_error</a></li><li><a href="#method.downcast_ref">downcast_ref</a></li><li><a href="#method.from_any">from_any</a></li><li><a href="#method.from_debug">from_debug</a></li><li><a href="#method.from_display">from_display</a></li><li><a href="#method.from_dyn_debug">from_dyn_debug</a></li><li><a href="#method.from_dyn_display">from_dyn_display</a></li><li><a href="#method.from_dyn_error">from_dyn_error</a></li><li><a href="#method.is">is</a></li><li><a href="#method.to_bool">to_bool</a></li><li><a href="#method.to_borrowed_error">to_borrowed_error</a></li><li><a href="#method.to_borrowed_str">to_borrowed_str</a></li><li><a href="#method.to_char">to_char</a></li><li><a href="#method.to_f64">to_f64</a></li><li><a href="#method.to_i128">to_i128</a></li><li><a href="#method.to_i64">to_i64</a></li><li><a href="#method.to_str">to_str</a></li><li><a href="#method.to_u128">to_u128</a></li><li><a href="#method.to_u64">to_u64</a></li><li><a href="#method.visit">visit</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-Debug-for-Value%3C%27v%3E">Debug</a></li><li><a href="#impl-Display-for-Value%3C%27v%3E">Display</a></li><li><a href="#impl-From%3C%26%27v%20NonZeroI128%3E-for-Value%3C%27v%3E">From&lt;&amp;&#39;v NonZeroI128&gt;</a></li><li><a href="#impl-From%3C%26%27v%20NonZeroU128%3E-for-Value%3C%27v%3E">From&lt;&amp;&#39;v NonZeroU128&gt;</a></li><li><a href="#impl-From%3C%26%27v%20String%3E-for-Value%3C%27v%3E">From&lt;&amp;&#39;v String&gt;</a></li><li><a href="#impl-From%3C%26%27v%20i128%3E-for-Value%3C%27v%3E">From&lt;&amp;&#39;v i128&gt;</a></li><li><a href="#impl-From%3C%26%27v%20str%3E-for-Value%3C%27v%3E">From&lt;&amp;&#39;v str&gt;</a></li><li><a href="#impl-From%3C%26%27v%20u128%3E-for-Value%3C%27v%3E">From&lt;&amp;&#39;v u128&gt;</a></li><li><a href="#impl-From%3CNonZeroI16%3E-for-Value%3C%27v%3E">From&lt;NonZeroI16&gt;</a></li><li><a href="#impl-From%3CNonZeroI32%3E-for-Value%3C%27v%3E">From&lt;NonZeroI32&gt;</a></li><li><a href="#impl-From%3CNonZeroI64%3E-for-Value%3C%27v%3E">From&lt;NonZeroI64&gt;</a></li><li><a href="#impl-From%3CNonZeroI8%3E-for-Value%3C%27v%3E">From&lt;NonZeroI8&gt;</a></li><li><a href="#impl-From%3CNonZeroIsize%3E-for-Value%3C%27v%3E">From&lt;NonZeroIsize&gt;</a></li><li><a href="#impl-From%3CNonZeroU16%3E-for-Value%3C%27v%3E">From&lt;NonZeroU16&gt;</a></li><li><a href="#impl-From%3CNonZeroU32%3E-for-Value%3C%27v%3E">From&lt;NonZeroU32&gt;</a></li><li><a href="#impl-From%3CNonZeroU64%3E-for-Value%3C%27v%3E">From&lt;NonZeroU64&gt;</a></li><li><a href="#impl-From%3CNonZeroU8%3E-for-Value%3C%27v%3E">From&lt;NonZeroU8&gt;</a></li><li><a href="#impl-From%3CNonZeroUsize%3E-for-Value%3C%27v%3E">From&lt;NonZeroUsize&gt;</a></li><li><a href="#impl-From%3Cbool%3E-for-Value%3C%27v%3E">From&lt;bool&gt;</a></li><li><a href="#impl-From%3Cchar%3E-for-Value%3C%27v%3E">From&lt;char&gt;</a></li><li><a href="#impl-From%3Cf32%3E-for-Value%3C%27v%3E">From&lt;f32&gt;</a></li><li><a href="#impl-From%3Cf64%3E-for-Value%3C%27v%3E">From&lt;f64&gt;</a></li><li><a href="#impl-From%3Ci16%3E-for-Value%3C%27v%3E">From&lt;i16&gt;</a></li><li><a href="#impl-From%3Ci32%3E-for-Value%3C%27v%3E">From&lt;i32&gt;</a></li><li><a href="#impl-From%3Ci64%3E-for-Value%3C%27v%3E">From&lt;i64&gt;</a></li><li><a href="#impl-From%3Ci8%3E-for-Value%3C%27v%3E">From&lt;i8&gt;</a></li><li><a href="#impl-From%3Cisize%3E-for-Value%3C%27v%3E">From&lt;isize&gt;</a></li><li><a href="#impl-From%3Cu16%3E-for-Value%3C%27v%3E">From&lt;u16&gt;</a></li><li><a href="#impl-From%3Cu32%3E-for-Value%3C%27v%3E">From&lt;u32&gt;</a></li><li><a href="#impl-From%3Cu64%3E-for-Value%3C%27v%3E">From&lt;u64&gt;</a></li><li><a href="#impl-From%3Cu8%3E-for-Value%3C%27v%3E">From&lt;u8&gt;</a></li><li><a href="#impl-From%3Cusize%3E-for-Value%3C%27v%3E">From&lt;usize&gt;</a></li><li><a href="#impl-ToValue-for-Value%3C%27v%3E">ToValue</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-Value%3C%27v%3E">!RefUnwindSafe</a></li><li><a href="#impl-Send-for-Value%3C%27v%3E">!Send</a></li><li><a href="#impl-Sync-for-Value%3C%27v%3E">!Sync</a></li><li><a href="#impl-Unpin-for-Value%3C%27v%3E">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Value%3C%27v%3E">!UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-Value%3C%27v%3E">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-Value%3C%27v%3E">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-Value%3C%27v%3E">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-Value%3C%27v%3E">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-Value%3C%27v%3E">Into&lt;U&gt;</a></li><li><a href="#impl-ToString-for-Value%3C%27v%3E">ToString</a></li><li><a href="#impl-TryFrom%3CU%3E-for-Value%3C%27v%3E">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-Value%3C%27v%3E">TryInto&lt;U&gt;</a></li></ul></section><h2><a href="index.html">In measure_time::kv</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Struct <a href="../index.html">measure_time</a>::<wbr><a href="index.html">kv</a>::<wbr><a class="struct" href="#">Value</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../../src/log/kv/value.rs.html#154">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust struct"><code>pub struct Value&lt;'v&gt; { /* private fields */ }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A value in a structured key-value pair.</p>
<h2 id="capturing-values"><a href="#capturing-values">Capturing values</a></h2>
<p>There are a few ways to capture a value:</p>
<ul>
<li>Using the <code>Value::capture_*</code> methods.</li>
<li>Using the <code>Value::from_*</code> methods.</li>
<li>Using the <code>ToValue</code> trait.</li>
<li>Using the standard <code>From</code> trait.</li>
</ul>
<h3 id="using-the-valuecapture_-methods"><a href="#using-the-valuecapture_-methods">Using the <code>Value::capture_*</code> methods</a></h3>
<p><code>Value</code> offers a few constructor methods that capture values of different kinds.
These methods require a <code>T: 'static</code> to support downcasting.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>log::kv::Value;
<span class="kw">let </span>value = Value::capture_debug(<span class="kw-2">&amp;</span><span class="number">42i32</span>);
<span class="macro">assert_eq!</span>(<span class="prelude-val">Some</span>(<span class="number">42</span>), value.to_i64());</code></pre></div>
<h3 id="using-the-valuefrom_-methods"><a href="#using-the-valuefrom_-methods">Using the <code>Value::from_*</code> methods</a></h3>
<p><code>Value</code> offers a few constructor methods that capture values of different kinds.
These methods don’t require <code>T: 'static</code>, but can’t support downcasting.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>log::kv::Value;
<span class="kw">let </span>value = Value::from_debug(<span class="kw-2">&amp;</span><span class="number">42i32</span>);
<span class="macro">assert_eq!</span>(<span class="prelude-val">None</span>, value.to_i64());</code></pre></div>
<h3 id="using-the-tovalue-trait"><a href="#using-the-tovalue-trait">Using the <code>ToValue</code> trait</a></h3>
<p>The <code>ToValue</code> trait can be used to capture values generically.
It’s the bound used by <code>Source</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span>value = <span class="number">42i32</span>.to_value();
<span class="macro">assert_eq!</span>(<span class="prelude-val">Some</span>(<span class="number">42</span>), value.to_i64());</code></pre></div>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>log::kv::ToValue;
<span class="kw">let </span>value = (<span class="kw-2">&amp;</span><span class="number">42i32 </span><span class="kw">as </span><span class="kw-2">&amp;</span><span class="kw">dyn </span>Debug).to_value();
<span class="macro">assert_eq!</span>(<span class="prelude-val">None</span>, value.to_i64());</code></pre></div>
<h3 id="using-the-standard-from-trait"><a href="#using-the-standard-from-trait">Using the standard <code>From</code> trait</a></h3>
<p>Standard types that implement <code>ToValue</code> also implement <code>From</code>.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>log::kv::Value;
<span class="kw">let </span>value = Value::from(<span class="number">42i32</span>);
<span class="macro">assert_eq!</span>(<span class="prelude-val">Some</span>(<span class="number">42</span>), value.to_i64());</code></pre></div>
</div></details><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#158">source</a><a href="#impl-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_any" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#160-162">source</a><h4 class="code-header">pub fn <a href="#method.from_any" class="fnname">from_any</a>&lt;T&gt;(value: &amp;'v T) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a>,</span></h4></section></summary><div class="docblock"><p>Get a value from a type implementing <code>ToValue</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.capture_debug" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#168-170">source</a><h4 class="code-header">pub fn <a href="#method.capture_debug" class="fnname">capture_debug</a>&lt;T&gt;(value: &amp;'v T) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + Debug,</span></h4></section></summary><div class="docblock"><p>Get a value from a type implementing <code>std::fmt::Debug</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.capture_display" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#178-180">source</a><h4 class="code-header">pub fn <a href="#method.capture_display" class="fnname">capture_display</a>&lt;T&gt;(value: &amp;'v T) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + Display,</span></h4></section></summary><div class="docblock"><p>Get a value from a type implementing <code>std::fmt::Display</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.capture_error" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#189-191">source</a><h4 class="code-header">pub fn <a href="#method.capture_error" class="fnname">capture_error</a>&lt;T&gt;(err: &amp;'v T) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + Error,</span></h4></section></summary><div class="docblock"><p>Get a value from an error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_debug" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#221-223">source</a><h4 class="code-header">pub fn <a href="#method.from_debug" class="fnname">from_debug</a>&lt;T&gt;(value: &amp;'v T) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Debug,</span></h4></section></summary><div class="docblock"><p>Get a value from a type implementing <code>std::fmt::Debug</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_display" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#231-233">source</a><h4 class="code-header">pub fn <a href="#method.from_display" class="fnname">from_display</a>&lt;T&gt;(value: &amp;'v T) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Display,</span></h4></section></summary><div class="docblock"><p>Get a value from a type implementing <code>std::fmt::Display</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_dyn_debug" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#263">source</a><h4 class="code-header">pub fn <a href="#method.from_dyn_debug" class="fnname">from_dyn_debug</a>(value: &amp;'v (dyn Debug + 'v)) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class="docblock"><p>Get a value from a dynamic <code>std::fmt::Debug</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_dyn_display" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#270">source</a><h4 class="code-header">pub fn <a href="#method.from_dyn_display" class="fnname">from_dyn_display</a>(value: &amp;'v (dyn Display + 'v)) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class="docblock"><p>Get a value from a dynamic <code>std::fmt::Display</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from_dyn_error" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#278">source</a><h4 class="code-header">pub fn <a href="#method.from_dyn_error" class="fnname">from_dyn_error</a>(err: &amp;'v (dyn Error + 'static)) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class="docblock"><p>Get a value from a dynamic error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.is" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#295">source</a><h4 class="code-header">pub fn <a href="#method.is" class="fnname">is</a>&lt;T&gt;(&amp;self) -&gt; bool<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static,</span></h4></section></summary><div class="docblock"><p>Check whether this value can be downcast to <code>T</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.downcast_ref" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#300">source</a><h4 class="code-header">pub fn <a href="#method.downcast_ref" class="fnname">downcast_ref</a>&lt;T&gt;(&amp;self) -&gt; Option&lt;&amp;T&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static,</span></h4></section></summary><div class="docblock"><p>Try downcast this value to <code>T</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.visit" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#305">source</a><h4 class="code-header">pub fn <a href="#method.visit" class="fnname">visit</a>(&amp;self, visitor: impl <a class="trait" href="value/trait.Visit.html" title="trait measure_time::kv::value::Visit">Visit</a>&lt;'v&gt;) -&gt; Result&lt;(), <a class="struct" href="struct.Error.html" title="struct measure_time::kv::Error">Error</a>&gt;</h4></section></summary><div class="docblock"><p>Inspect this value using a simple visitor.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Value%3C%27v%3E-1" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#572-587">source</a><a href="#impl-Value%3C%27v%3E-1" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_u64" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#572-587">source</a><h4 class="code-header">pub fn <a href="#method.to_u64" class="fnname">to_u64</a>(&amp;self) -&gt; Option&lt;u64&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a <code>u64</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_i64" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#572-587">source</a><h4 class="code-header">pub fn <a href="#method.to_i64" class="fnname">to_i64</a>(&amp;self) -&gt; Option&lt;i64&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a <code>i64</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_u128" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#572-587">source</a><h4 class="code-header">pub fn <a href="#method.to_u128" class="fnname">to_u128</a>(&amp;self) -&gt; Option&lt;u128&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a <code>u128</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_i128" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#572-587">source</a><h4 class="code-header">pub fn <a href="#method.to_i128" class="fnname">to_i128</a>(&amp;self) -&gt; Option&lt;i128&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a <code>i128</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_f64" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#572-587">source</a><h4 class="code-header">pub fn <a href="#method.to_f64" class="fnname">to_f64</a>(&amp;self) -&gt; Option&lt;f64&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a <code>f64</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_char" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#572-587">source</a><h4 class="code-header">pub fn <a href="#method.to_char" class="fnname">to_char</a>(&amp;self) -&gt; Option&lt;char&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a <code>char</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_bool" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#572-587">source</a><h4 class="code-header">pub fn <a href="#method.to_bool" class="fnname">to_bool</a>(&amp;self) -&gt; Option&lt;bool&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a <code>bool</code>.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Value%3C%27v%3E-2" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#589">source</a><a href="#impl-Value%3C%27v%3E-2" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_borrowed_error" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#592">source</a><h4 class="code-header">pub fn <a href="#method.to_borrowed_error" class="fnname">to_borrowed_error</a>(&amp;self) -&gt; Option&lt;&amp;(dyn Error + 'static)&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into an error.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_borrowed_str" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#597">source</a><h4 class="code-header">pub fn <a href="#method.to_borrowed_str" class="fnname">to_borrowed_str</a>(&amp;self) -&gt; Option&lt;&amp;str&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a borrowed string.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Value%3C%27v%3E-3" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#629">source</a><a href="#impl-Value%3C%27v%3E-3" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_str" class="method has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#631">source</a><h4 class="code-header">pub fn <a href="#method.to_str" class="fnname">to_str</a>(&amp;self) -&gt; Option&lt;Cow&lt;'_, str&gt;&gt;</h4></section></summary><div class="docblock"><p>Try convert this value into a string.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Debug-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#377">source</a><a href="#impl-Debug-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; Debug for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#378">source</a><a href="#method.fmt-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt</a>(&amp;self, f: &amp;mut Formatter&lt;'_&gt;) -&gt; Result&lt;(), Error&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Display-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#383">source</a><a href="#impl-Display-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; Display for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#384">source</a><a href="#method.fmt" class="anchor"></a><h4 class="code-header">fn <a class="fnname">fmt</a>(&amp;self, f: &amp;mut Formatter&lt;'_&gt;) -&gt; Result&lt;(), Error&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26%27v%20NonZeroI128%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#490">source</a><a href="#impl-From%3C%26%27v%20NonZeroI128%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;&amp;'v NonZeroI128&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#491">source</a><a href="#method.from-8" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(v: &amp;'v NonZeroI128) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26%27v%20NonZeroU128%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#483">source</a><a href="#impl-From%3C%26%27v%20NonZeroU128%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;&amp;'v NonZeroU128&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#484">source</a><a href="#method.from-2" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(v: &amp;'v NonZeroU128) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26%27v%20String%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#636">source</a><a href="#impl-From%3C%26%27v%20String%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;&amp;'v String&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-25" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#637">source</a><a href="#method.from-25" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(v: &amp;'v String) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26%27v%20i128%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#477">source</a><a href="#impl-From%3C%26%27v%20i128%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;&amp;'v i128&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#478">source</a><a href="#method.from-17" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: &amp;'v i128) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26%27v%20str%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#465">source</a><a href="#impl-From%3C%26%27v%20str%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;&amp;'v str&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-29" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#466">source</a><a href="#method.from-29" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: &amp;'v str) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3C%26%27v%20u128%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#471">source</a><a href="#impl-From%3C%26%27v%20u128%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;&amp;'v u128&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#472">source</a><a href="#method.from" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: &amp;'v u128) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroI16%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroI16%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroI16&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-22" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroI16) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroI32%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroI32%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroI32&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-13" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroI32) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroI64%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroI64%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroI64&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-10" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-10" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroI64) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroI8%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroI8%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroI8&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-28" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-28" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroI8) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroIsize%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroIsize%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroIsize&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-4" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroIsize) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroU16%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroU16%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroU16&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-5" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroU16) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroU32%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroU32%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroU32&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-20" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroU32) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroU64%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroU64%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroU64&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-24" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-24" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroU64) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroU8%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroU8%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroU8&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-19" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroU8) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3CNonZeroUsize%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-From%3CNonZeroUsize%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;NonZeroUsize&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-26" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.from-26" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: NonZeroUsize) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cbool%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cbool%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;bool&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-16" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: bool) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cchar%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cchar%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;char&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-27" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-27" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: char) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cf32%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cf32%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;f32&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-14" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: f32) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cf64%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cf64%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;f64&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-12" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: f64) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Ci16%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Ci16%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;i16&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-15" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: i16) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Ci32%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Ci32%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;i32&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-3" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: i32) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Ci64%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Ci64%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;i64&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-21" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: i64) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Ci8%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Ci8%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;i8&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-1" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: i8) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cisize%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cisize%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;isize&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-6" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: isize) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu16%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cu16%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;u16&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-9" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: u16) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu32%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cu32%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;u32&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-11" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: u32) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu64%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cu64%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;u64&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-23" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: u64) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cu8%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cu8%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;u8&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-7" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: u8) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-From%3Cusize%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#impl-From%3Cusize%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; From&lt;usize&gt; for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#564">source</a><a href="#method.from-18" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(value: usize) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h4></section></summary><div class='docblock'>Converts to this type from the input type.</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-ToValue-for-Value%3C%27v%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#34">source</a><a href="#impl-ToValue-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; <a class="trait" href="trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_value" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/log/kv/value.rs.html#35">source</a><a href="#method.to_value" class="anchor"></a><h4 class="code-header">fn <a href="trait.ToValue.html#tymethod.to_value" class="fnname">to_value</a>(&amp;self) -&gt; <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'_&gt;</h4></section></summary><div class='docblock'>Perform the conversion.</div></details></div></details></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><section id="impl-RefUnwindSafe-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; !RefUnwindSafe for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section><section id="impl-Send-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-Send-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; !Send for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section><section id="impl-Sync-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-Sync-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; !Sync for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section><section id="impl-Unpin-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-Unpin-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; Unpin for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section><section id="impl-UnwindSafe-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-UnwindSafe-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;'v&gt; !UnwindSafe for <a class="struct" href="struct.Value.html" title="struct measure_time::kv::Value">Value</a>&lt;'v&gt;</h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-Any-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; Any for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><a href="#method.type_id" class="anchor"></a><h4 class="code-header">fn <a class="fnname">type_id</a>(&amp;self) -&gt; TypeId</h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-Borrow%3CT%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; Borrow&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span><a href="#method.borrow" class="anchor"></a><h4 class="code-header">fn <a class="fnname">borrow</a>(&amp;self) -&gt; &amp;T</h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-BorrowMut%3CT%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; BorrowMut&lt;T&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span><a href="#method.borrow_mut" class="anchor"></a><h4 class="code-header">fn <a class="fnname">borrow_mut</a>(&amp;mut self) -&gt; &amp;mut T</h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-From%3CT%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; From&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from-30" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.from-30" class="anchor"></a><h4 class="code-header">fn <a class="fnname">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-Into%3CU%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; Into&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: From&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.into" class="anchor"></a><h4 class="code-header">fn <a class="fnname">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code>[From]&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToString-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-ToString-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; ToString for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: Display + ?Sized,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.to_string" class="method trait-impl has-srclink"><a href="#method.to_string" class="anchor"></a><h4 class="code-header">default fn <a class="fnname">to_string</a>(&amp;self) -&gt; String</h4></section></summary><div class='docblock'>Converts the given value to a <code>String</code>. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-TryFrom%3CU%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; TryFrom&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: Into&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error-1" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Error</a> = Infallible</h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.try_from" class="anchor"></a><h4 class="code-header">fn <a class="fnname">try_from</a>(value: U) -&gt; Result&lt;T, &lt;T as TryFrom&lt;U&gt;&gt;::Error&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-Value%3C%27v%3E" class="impl has-srclink"><a href="#impl-TryInto%3CU%3E-for-Value%3C%27v%3E" class="anchor"></a><h3 class="code-header">impl&lt;T, U&gt; TryInto&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: TryFrom&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Error" class="anchor"></a><h4 class="code-header">type <a class="associatedtype">Error</a> = &lt;U as TryFrom&lt;T&gt;&gt;::Error</h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl has-srclink"><span class="since rightside" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span><a href="#method.try_into" class="anchor"></a><h4 class="code-header">fn <a class="fnname">try_into</a>(self) -&gt; Result&lt;U, &lt;U as TryFrom&lt;T&gt;&gt;::Error&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-current-crate="measure_time" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>