Skip to content

Commit

Permalink
[skip ci] Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
badboy committed Oct 19, 2020
1 parent 29f1713 commit 2123126
Show file tree
Hide file tree
Showing 83 changed files with 107 additions and 107 deletions.
4 changes: 2 additions & 2 deletions docs/glean_core/enum.ErrorKind.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Handle(HandleError),
IoError(<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>),
Rkv(StoreError),
Json(<a class="struct" href="https://docs.rs/serde_json/1.0.57/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>),
Json(<a class="struct" href="https://docs.rs/serde_json/1.0.59/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>),
TimeUnit(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>),
MemoryUnit(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>),
HistogramType(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>),
Expand All @@ -22,7 +22,7 @@
</div><div id="variant.Handle" class="variant small-section-header"><a href="#variant.Handle" class="anchor field"></a><code>Handle(HandleError)</code></div><div class='docblock'><p>FFI-Support error</p>
</div><div id="variant.IoError" class="variant small-section-header"><a href="#variant.IoError" class="anchor field"></a><code>IoError(<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>)</code></div><div class='docblock'><p>IO error</p>
</div><div id="variant.Rkv" class="variant small-section-header"><a href="#variant.Rkv" class="anchor field"></a><code>Rkv(StoreError)</code></div><div class='docblock'><p>IO error</p>
</div><div id="variant.Json" class="variant small-section-header"><a href="#variant.Json" class="anchor field"></a><code>Json(<a class="struct" href="https://docs.rs/serde_json/1.0.57/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>)</code></div><div class='docblock'><p>JSON error</p>
</div><div id="variant.Json" class="variant small-section-header"><a href="#variant.Json" class="anchor field"></a><code>Json(<a class="struct" href="https://docs.rs/serde_json/1.0.59/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>)</code></div><div class='docblock'><p>JSON error</p>
</div><div id="variant.TimeUnit" class="variant small-section-header"><a href="#variant.TimeUnit" class="anchor field"></a><code>TimeUnit(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>)</code></div><div class='docblock'><p>TimeUnit conversion failed</p>
</div><div id="variant.MemoryUnit" class="variant small-section-header"><a href="#variant.MemoryUnit" class="anchor field"></a><code>MemoryUnit(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>)</code></div><div class='docblock'><p>MemoryUnit conversion failed</p>
</div><div id="variant.HistogramType" class="variant small-section-header"><a href="#variant.HistogramType" class="anchor field"></a><code>HistogramType(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i32.html">i32</a>)</code></div><div class='docblock'><p>HistogramType conversion failed</p>
Expand Down
6 changes: 3 additions & 3 deletions docs/glean_core/metrics/enum.HistogramType.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/glean_core/metrics/enum.MemoryUnit.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/glean_core/metrics/enum.Metric.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/glean_core/metrics/enum.TimeUnit.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/glean_core/metrics/struct.DistributionData.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/glean_core/metrics/struct.RecordedEvent.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/glean_core/ping/struct.PingMaker.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/glean_core/storage/struct.StorageManager.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1 id="arguments" class="section-header"><a href="#arguments">Arguments</a></h1
<h1 id="returns" class="section-header"><a href="#returns">Returns</a></h1>
<p>The stored data in a string encoded as JSON.
If no data for the store exists, <code>None</code> is returned.</p>
</div><h4 id='method.snapshot_as_json' class="method"><code>pub fn <a href='#method.snapshot_as_json' class='fnname'>snapshot_as_json</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;storage: &amp;Database, <br>&nbsp;&nbsp;&nbsp;&nbsp;store_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;clear_store: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://docs.rs/serde_json/1.0.57/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">JsonValue</a>&gt;</code><a class='srclink' href='../../src/glean_core/storage/mod.rs.html#77-112' title='goto source code'>[src]</a></h4><div class='docblock'><p>Snapshots the given store and optionally clear it.</p>
</div><h4 id='method.snapshot_as_json' class="method"><code>pub fn <a href='#method.snapshot_as_json' class='fnname'>snapshot_as_json</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;storage: &amp;Database, <br>&nbsp;&nbsp;&nbsp;&nbsp;store_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;clear_store: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://docs.rs/serde_json/1.0.59/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">JsonValue</a>&gt;</code><a class='srclink' href='../../src/glean_core/storage/mod.rs.html#77-112' title='goto source code'>[src]</a></h4><div class='docblock'><p>Snapshots the given store and optionally clear it.</p>
<h1 id="arguments-1" class="section-header"><a href="#arguments-1">Arguments</a></h1>
<ul>
<li><code>storage</code> - the database to read from.</li>
Expand All @@ -30,7 +30,7 @@ <h1 id="arguments-2" class="section-header"><a href="#arguments-2">Arguments</a>
</ul>
<h1 id="returns-2" class="section-header"><a href="#returns-2">Returns</a></h1>
<p>The decoded metric or <code>None</code> if no data is found.</p>
</div><h4 id='method.snapshot_experiments_as_json' class="method"><code>pub fn <a href='#method.snapshot_experiments_as_json' class='fnname'>snapshot_experiments_as_json</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;storage: &amp;Database, <br>&nbsp;&nbsp;&nbsp;&nbsp;store_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://docs.rs/serde_json/1.0.57/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">JsonValue</a>&gt;</code><a class='srclink' href='../../src/glean_core/storage/mod.rs.html#173-195' title='goto source code'>[src]</a></h4><div class='docblock'><p>Snapshots the experiments.</p>
</div><h4 id='method.snapshot_experiments_as_json' class="method"><code>pub fn <a href='#method.snapshot_experiments_as_json' class='fnname'>snapshot_experiments_as_json</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;storage: &amp;Database, <br>&nbsp;&nbsp;&nbsp;&nbsp;store_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://docs.rs/serde_json/1.0.59/serde_json/value/enum.Value.html" title="enum serde_json::value::Value">JsonValue</a>&gt;</code><a class='srclink' href='../../src/glean_core/storage/mod.rs.html#173-195' title='goto source code'>[src]</a></h4><div class='docblock'><p>Snapshots the experiments.</p>
<h1 id="arguments-3" class="section-header"><a href="#arguments-3">Arguments</a></h1>
<ul>
<li><code>storage</code> - The database to get data from.</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/glean_core/struct.Error.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div><h4 id='method.cause' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.cause' class='fnname'>cause</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a>&gt;</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/std/error.rs.html#148-150' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab deprecated'><span class='emoji'>👎</span> Deprecated since 1.33.0: <p>replaced by Error::source, which can support downcasting</p>
</div></div></div><h3 id='impl-From%3CError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt; for <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a href='#impl-From%3CError%3E' class='anchor'></a><a class='srclink' href='../src/glean_core/error.rs.html#144-150' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-2' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>) -&gt; <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a class='srclink' href='../src/glean_core/error.rs.html#145-149' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CError%3E-1' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a>&gt; for ExternError</code><a href='#impl-From%3CError%3E-1' class='anchor'></a><a class='srclink' href='../src/glean_core/error.rs.html#160-164' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-4' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a>) -&gt; ExternError</code><a class='srclink' href='../src/glean_core/error.rs.html#161-163' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CError%3E-2' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://docs.rs/serde_json/1.0.57/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>&gt; for <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a href='#impl-From%3CError%3E-2' class='anchor'></a><a class='srclink' href='../src/glean_core/error.rs.html#166-172' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-5' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="struct" href="https://docs.rs/serde_json/1.0.57/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>) -&gt; <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a class='srclink' href='../src/glean_core/error.rs.html#167-171' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CError%3E-2' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://docs.rs/serde_json/1.0.59/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>&gt; for <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a href='#impl-From%3CError%3E-2' class='anchor'></a><a class='srclink' href='../src/glean_core/error.rs.html#166-172' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-5' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: <a class="struct" href="https://docs.rs/serde_json/1.0.59/serde_json/error/struct.Error.html" title="struct serde_json::error::Error">Error</a>) -&gt; <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a class='srclink' href='../src/glean_core/error.rs.html#167-171' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CErrorKind%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../glean_core/enum.ErrorKind.html" title="enum glean_core::ErrorKind">ErrorKind</a>&gt; for <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a href='#impl-From%3CErrorKind%3E' class='anchor'></a><a class='srclink' href='../src/glean_core/error.rs.html#130-134' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(kind: <a class="enum" href="../glean_core/enum.ErrorKind.html" title="enum glean_core::ErrorKind">ErrorKind</a>) -&gt; <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a class='srclink' href='../src/glean_core/error.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CHandleError%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;HandleError&gt; for <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a href='#impl-From%3CHandleError%3E' class='anchor'></a><a class='srclink' href='../src/glean_core/error.rs.html#136-142' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from-1' class="method hidden"><code>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(error: HandleError) -&gt; <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a class='srclink' href='../src/glean_core/error.rs.html#137-141' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CInfallible%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a>&gt; for <a class="struct" href="../glean_core/struct.Error.html" title="struct glean_core::Error">Error</a></code><a href='#impl-From%3CInfallible%3E' class='anchor'></a><a class='srclink' href='../src/glean_core/error.rs.html#185-189' title='goto source code'>[src]</a></h3><div class='docblock'><p>To satisfy integer conversion done by the macros on the FFI side, we need to be able to turn
Expand Down
Loading

0 comments on commit 2123126

Please sign in to comment.