Skip to content

Commit

Permalink
deploy: b64c579
Browse files Browse the repository at this point in the history
  • Loading branch information
iambriccardo committed Jun 17, 2024
1 parent 274d068 commit e2c901a
Show file tree
Hide file tree
Showing 20 changed files with 76 additions and 42 deletions.
6 changes: 3 additions & 3 deletions relay_cardinality/enum.Error.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion relay_cardinality/struct.RedisSetLimiter.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!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="Implementation uses Redis sets to keep track of cardinality."><title>RedisSetLimiter in relay_cardinality - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-081576b923113409.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="relay_cardinality" data-themes="" data-resource-suffix="" data-rustdoc-version="1.79.0 (129f3b996 2024-06-10)" data-channel="1.79.0" data-search-js="search-bf21c90c8c1d92b1.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-e32f0c247825364d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-09095024cf37855e.css"></noscript><link rel="icon" href="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png"></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" title="show sidebar"></button><a class="logo-container" href="../relay_cardinality/index.html"><img src="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../relay_cardinality/index.html"><img src="https://raw.githubusercontent.com/getsentry/relay/master/artwork/relay-icon.png" alt="logo"></a><h2><a href="../relay_cardinality/index.html">relay_cardinality</a><span class="version">24.5.1</span></h2></div><h2 class="location"><a href="#">RedisSetLimiter</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.new">new</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Limiter-for-RedisSetLimiter">Limiter</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-RedisSetLimiter">!Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-RedisSetLimiter">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-RedisSetLimiter">!UnwindSafe</a></li><li><a href="#impl-Send-for-RedisSetLimiter">Send</a></li><li><a href="#impl-Sync-for-RedisSetLimiter">Sync</a></li><li><a href="#impl-Unpin-for-RedisSetLimiter">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-T">VZip&lt;V&gt;</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In crate relay_cardinality</a></h2></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../relay_cardinality/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Type ‘S’ or ‘/’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings">Settings</a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Struct <a href="index.html">relay_cardinality</a>::<wbr><a class="struct" href="#">RedisSetLimiter</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/relay_cardinality/redis/limiter.rs.html#28-36">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub struct RedisSetLimiter { <span class="comment">/* private fields */</span> }</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Implementation uses Redis sets to keep track of cardinality.</p>
</div></details><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-RedisSetLimiter" class="impl"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#39-101">source</a><a href="#impl-RedisSetLimiter" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.RedisSetLimiter.html" title="struct relay_cardinality::RedisSetLimiter">RedisSetLimiter</a></h3></section></summary><div class="docblock"><p>A Redis based limiter using Redis sets to track cardinality and membership.</p>
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#41-51">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(options: <a class="struct" href="struct.RedisSetLimiterOptions.html" title="struct relay_cardinality::RedisSetLimiterOptions">RedisSetLimiterOptions</a>, redis: RedisPool) -&gt; Self</h4></section></summary><div class="docblock"><p>Creates a new <a href="struct.RedisSetLimiter.html" title="struct relay_cardinality::RedisSetLimiter"><code>RedisSetLimiter</code></a>.</p>
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.new" class="method"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#41-51">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(options: <a class="struct" href="struct.RedisSetLimiterOptions.html" title="struct relay_cardinality::RedisSetLimiterOptions">RedisSetLimiterOptions</a>, redis: <a class="struct" href="../relay_redis/real/struct.RedisPool.html" title="struct relay_redis::real::RedisPool">RedisPool</a>) -&gt; Self</h4></section></summary><div class="docblock"><p>Creates a new <a href="struct.RedisSetLimiter.html" title="struct relay_cardinality::RedisSetLimiter"><code>RedisSetLimiter</code></a>.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Limiter-for-RedisSetLimiter" class="impl"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#103-190">source</a><a href="#impl-Limiter-for-RedisSetLimiter" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="limiter/trait.Limiter.html" title="trait relay_cardinality::limiter::Limiter">Limiter</a> for <a class="struct" href="struct.RedisSetLimiter.html" title="struct relay_cardinality::RedisSetLimiter">RedisSetLimiter</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.check_cardinality_limits" class="method trait-impl"><a class="src rightside" href="../src/relay_cardinality/redis/limiter.rs.html#104-189">source</a><a href="#method.check_cardinality_limits" class="anchor">§</a><h4 class="code-header">fn <a href="limiter/trait.Limiter.html#tymethod.check_cardinality_limits" class="fn">check_cardinality_limits</a>&lt;'a, 'b, E, R&gt;(
&amp;self,
scoping: <a class="struct" href="limiter/struct.Scoping.html" title="struct relay_cardinality::limiter::Scoping">Scoping</a>,
Expand Down
Loading

0 comments on commit e2c901a

Please sign in to comment.