blob: 3dfae7ca219c33ad84e63c80a02e2408d3657098 [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 type that can be converted into a `Value`."><meta name="keywords" content="rust, rustlang, rust-lang, ToValue"><title>ToValue in measure_time::kv::value - 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 trait"><!--[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="#">ToValue</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.to_value">to_value</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-ToValue-for-%26%27a%20T">&amp;&#39;a T</a></li><li><a href="#impl-ToValue-for-()">()</a></li><li><a href="#impl-ToValue-for-Box%3CT%2C%20Global%3E">Box&lt;T, Global&gt;</a></li><li><a href="#impl-ToValue-for-Cow%3C%27v%2C%20str%3E">Cow&lt;&#39;v, str&gt;</a></li><li><a href="#impl-ToValue-for-NonZeroI128">NonZeroI128</a></li><li><a href="#impl-ToValue-for-NonZeroI16">NonZeroI16</a></li><li><a href="#impl-ToValue-for-NonZeroI32">NonZeroI32</a></li><li><a href="#impl-ToValue-for-NonZeroI64">NonZeroI64</a></li><li><a href="#impl-ToValue-for-NonZeroI8">NonZeroI8</a></li><li><a href="#impl-ToValue-for-NonZeroIsize">NonZeroIsize</a></li><li><a href="#impl-ToValue-for-NonZeroU128">NonZeroU128</a></li><li><a href="#impl-ToValue-for-NonZeroU16">NonZeroU16</a></li><li><a href="#impl-ToValue-for-NonZeroU32">NonZeroU32</a></li><li><a href="#impl-ToValue-for-NonZeroU64">NonZeroU64</a></li><li><a href="#impl-ToValue-for-NonZeroU8">NonZeroU8</a></li><li><a href="#impl-ToValue-for-NonZeroUsize">NonZeroUsize</a></li><li><a href="#impl-ToValue-for-Option%3CT%3E">Option&lt;T&gt;</a></li><li><a href="#impl-ToValue-for-String">String</a></li><li><a href="#impl-ToValue-for-bool">bool</a></li><li><a href="#impl-ToValue-for-char">char</a></li><li><a href="#impl-ToValue-for-dyn%20Debug%20+%20%27static">dyn Debug + &#39;static</a></li><li><a href="#impl-ToValue-for-dyn%20Display%20+%20%27static">dyn Display + &#39;static</a></li><li><a href="#impl-ToValue-for-dyn%20Error%20+%20%27static">dyn Error + &#39;static</a></li><li><a href="#impl-ToValue-for-f32">f32</a></li><li><a href="#impl-ToValue-for-f64">f64</a></li><li><a href="#impl-ToValue-for-i128">i128</a></li><li><a href="#impl-ToValue-for-i16">i16</a></li><li><a href="#impl-ToValue-for-i32">i32</a></li><li><a href="#impl-ToValue-for-i64">i64</a></li><li><a href="#impl-ToValue-for-i8">i8</a></li><li><a href="#impl-ToValue-for-isize">isize</a></li><li><a href="#impl-ToValue-for-str">str</a></li><li><a href="#impl-ToValue-for-u128">u128</a></li><li><a href="#impl-ToValue-for-u16">u16</a></li><li><a href="#impl-ToValue-for-u32">u32</a></li><li><a href="#impl-ToValue-for-u64">u64</a></li><li><a href="#impl-ToValue-for-u8">u8</a></li><li><a href="#impl-ToValue-for-usize">usize</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In measure_time::kv::value</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">Trait <a href="../../index.html">measure_time</a>::<wbr><a href="../index.html">kv</a>::<wbr><a href="index.html">value</a>::<wbr><a class="trait" href="#">ToValue</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#20">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 trait"><code>pub trait ToValue {
fn <a href="#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;;
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A type that can be converted into a <a href="struct.Value.html"><code>Value</code></a>.</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.to_value" class="method has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#22">source</a><h4 class="code-header">fn <a href="#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"><p>Perform the conversion.</p>
</div></details></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroI8" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroI8" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroI8</h3></section></summary><div class="impl-items"><section id="method.to_value" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroI32" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroI32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroI32</h3></section></summary><div class="impl-items"><section id="method.to_value-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value-1" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroU32" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroU32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroU32</h3></section></summary><div class="impl-items"><section id="method.to_value-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value-2" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-char" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-char" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for char</h3></section></summary><div class="impl-items"><section id="method.to_value-3" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-3" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-dyn%20Display%20+%20%27static" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#395">source</a><a href="#impl-ToValue-for-dyn%20Display%20+%20%27static" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for dyn Display + 'static</h3></section></summary><div class="impl-items"><section id="method.to_value-4" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#396">source</a><a href="#method.to_value-4" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-Option%3CT%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#503">source</a><a href="#impl-ToValue-for-Option%3CT%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for Option&lt;T&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></h3></section></summary><div class="impl-items"><section id="method.to_value-5" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#507">source</a><a href="#method.to_value-5" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroU8" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroU8" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroU8</h3></section></summary><div class="impl-items"><section id="method.to_value-6" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value-6" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroIsize" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroIsize" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroIsize</h3></section></summary><div class="impl-items"><section id="method.to_value-7" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value-7" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-str" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#435">source</a><a href="#impl-ToValue-for-str" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for str</h3></section></summary><div class="impl-items"><section id="method.to_value-8" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#436">source</a><a href="#method.to_value-8" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-dyn%20Debug%20+%20%27static" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#389">source</a><a href="#impl-ToValue-for-dyn%20Debug%20+%20%27static" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for dyn Debug + 'static</h3></section></summary><div class="impl-items"><section id="method.to_value-9" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#390">source</a><a href="#method.to_value-9" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroI16" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroI16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroI16</h3></section></summary><div class="impl-items"><section id="method.to_value-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.to_value-10" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroI64" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroI64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroI64</h3></section></summary><div class="impl-items"><section id="method.to_value-11" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value-11" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-i8" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-i8" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for i8</h3></section></summary><div class="impl-items"><section id="method.to_value-12" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-12" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-String" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#617">source</a><a href="#impl-ToValue-for-String" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for String</h3></section></summary><div class="impl-items"><section id="method.to_value-13" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#618">source</a><a href="#method.to_value-13" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroUsize" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroUsize" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroUsize</h3></section></summary><div class="impl-items"><section id="method.to_value-14" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value-14" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroU16" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroU16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroU16</h3></section></summary><div class="impl-items"><section id="method.to_value-15" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value-15" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-%26%27a%20T" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#25">source</a><a href="#impl-ToValue-for-%26%27a%20T" class="anchor"></a><h3 class="code-header">impl&lt;'a, T&gt; <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for &amp;'a T<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> + ?Sized,</span></h3></section></summary><div class="impl-items"><section id="method.to_value-16" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#29">source</a><a href="#method.to_value-16" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-Cow%3C%27v%2C%20str%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#623">source</a><a href="#impl-ToValue-for-Cow%3C%27v%2C%20str%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 Cow&lt;'v, str&gt;</h3></section></summary><div class="impl-items"><section id="method.to_value-17" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#624">source</a><a href="#method.to_value-17" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-i128" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#447">source</a><a href="#impl-ToValue-for-i128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for i128</h3></section></summary><div class="impl-items"><section id="method.to_value-18" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#448">source</a><a href="#method.to_value-18" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-u16" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-u16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for u16</h3></section></summary><div class="impl-items"><section id="method.to_value-19" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-19" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-f32" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-f32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for f32</h3></section></summary><div class="impl-items"><section id="method.to_value-20" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-20" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-()" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#497">source</a><a href="#impl-ToValue-for-()" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for ()</h3></section></summary><div class="impl-items"><section id="method.to_value-21" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#498">source</a><a href="#method.to_value-21" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-u64" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-u64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for u64</h3></section></summary><div class="impl-items"><section id="method.to_value-22" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-22" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroI128" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#459">source</a><a href="#impl-ToValue-for-NonZeroI128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroI128</h3></section></summary><div class="impl-items"><section id="method.to_value-23" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#460">source</a><a href="#method.to_value-23" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-isize" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-isize" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for isize</h3></section></summary><div class="impl-items"><section id="method.to_value-24" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-24" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroU64" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#impl-ToValue-for-NonZeroU64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroU64</h3></section></summary><div class="impl-items"><section id="method.to_value-25" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#567-570">source</a><a href="#method.to_value-25" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-Box%3CT%2C%20Global%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#608">source</a><a href="#impl-ToValue-for-Box%3CT%2C%20Global%3E" class="anchor"></a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for Box&lt;T, Global&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> + ?Sized,</span></h3></section></summary><div class="impl-items"><section id="method.to_value-26" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#612">source</a><a href="#method.to_value-26" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-i64" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-i64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for i64</h3></section></summary><div class="impl-items"><section id="method.to_value-27" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-27" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-u128" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#441">source</a><a href="#impl-ToValue-for-u128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for u128</h3></section></summary><div class="impl-items"><section id="method.to_value-28" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#442">source</a><a href="#method.to_value-28" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-bool" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-bool" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for bool</h3></section></summary><div class="impl-items"><section id="method.to_value-29" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-29" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-dyn%20Error%20+%20%27static" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#402">source</a><a href="#impl-ToValue-for-dyn%20Error%20+%20%27static" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for dyn Error + 'static</h3></section></summary><div class="impl-items"><section id="method.to_value-30" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#403">source</a><a href="#method.to_value-30" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-u8" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-u8" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for u8</h3></section></summary><div class="impl-items"><section id="method.to_value-31" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-31" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-i32" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-i32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for i32</h3></section></summary><div class="impl-items"><section id="method.to_value-32" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-32" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-f64" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-f64" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for f64</h3></section></summary><div class="impl-items"><section id="method.to_value-33" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-33" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-u32" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-u32" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for u32</h3></section></summary><div class="impl-items"><section id="method.to_value-34" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-34" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-NonZeroU128" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#453">source</a><a href="#impl-ToValue-for-NonZeroU128" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for NonZeroU128</h3></section></summary><div class="impl-items"><section id="method.to_value-35" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#454">source</a><a href="#method.to_value-35" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-usize" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-usize" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for usize</h3></section></summary><div class="impl-items"><section id="method.to_value-36" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-36" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-ToValue-for-i16" class="impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#impl-ToValue-for-i16" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="../trait.ToValue.html" title="trait measure_time::kv::ToValue">ToValue</a> for i16</h3></section></summary><div class="impl-items"><section id="method.to_value-37" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../../src/log/kv/value.rs.html#564">source</a><a href="#method.to_value-37" class="anchor"></a><h4 class="code-header">fn <a href="#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></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"><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></div><script src="../../../implementors/log/kv/value/trait.ToValue.js" data-ignore-extern-crates="log,core,alloc" async></script></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>