mirror of
https://github.com/mCaptcha/cache.git
synced 2024-11-25 01:45:31 +03:00
Deploying to gh-pages from @ 5fadb6576c
🚀
This commit is contained in:
parent
b50d8f2eac
commit
ae194b0885
29 changed files with 57 additions and 73 deletions
2
cache/all.html
vendored
2
cache/all.html
vendored
|
@ -3,5 +3,5 @@
|
|||
<link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../cache/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class="location">Crate cache</p><div class="block version"><p>Version 0.1.0</p></div><a id="all-types" href="index.html"><p>Back to index</p></a></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">List of all items</span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span>
|
||||
</span>
|
||||
</h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="struct.ID.html">ID</a></li><li><a href="struct.PREFIX_BUCKET.html">PREFIX_BUCKET</a></li><li><a href="struct.PREFIX_CAPTCHA.html">PREFIX_CAPTCHA</a></li><li><a href="bucket/struct.Bucket.html">bucket::Bucket</a></li><li><a href="mcaptcha/struct.CreateMCaptcha.html">mcaptcha::CreateMCaptcha</a></li><li><a href="mcaptcha/struct.MCaptcha.html">mcaptcha::MCaptcha</a></li><li><a href="safety/struct.MCaptchaSafety.html">safety::MCaptchaSafety</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="bucket/enum.Format.html">bucket::Format</a></li><li><a href="errors/enum.CacheError.html">errors::CacheError</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="fn.RedisModule_OnLoad.html">RedisModule_OnLoad</a></li><li><a href="fn.RedisModule_OnUnload.html">RedisModule_OnUnload</a></li><li><a href="bucket/type_methods/fn.free.html">bucket::type_methods::free</a></li><li><a href="bucket/type_methods/fn.rdb_load.html">bucket::type_methods::rdb_load</a></li><li><a href="bucket/type_methods/fn.rdb_save.html">bucket::type_methods::rdb_save</a></li><li><a href="mcaptcha/type_methods/fn.free.html">mcaptcha::type_methods::free</a></li><li><a href="mcaptcha/type_methods/fn.rdb_load.html">mcaptcha::type_methods::rdb_load</a></li><li><a href="mcaptcha/type_methods/fn.rdb_save.html">mcaptcha::type_methods::rdb_save</a></li><li><a href="fn.on_delete.html">on_delete</a></li><li><a href="safety/type_methods/fn.free.html">safety::type_methods::free</a></li><li><a href="safety/type_methods/fn.rdb_load.html">safety::type_methods::rdb_load</a></li><li><a href="safety/type_methods/fn.rdb_save.html">safety::type_methods::rdb_save</a></li><li><a href="utils/fn.get_bucket_instant.html">utils::get_bucket_instant</a></li><li><a href="utils/fn.get_bucket_name.html">utils::get_bucket_name</a></li><li><a href="utils/fn.get_bucket_name_from_timer_name.html">utils::get_bucket_name_from_timer_name</a></li><li><a href="utils/fn.get_captcha_key.html">utils::get_captcha_key</a></li><li><a href="utils/fn.get_mcaptcha_from_safety.html">utils::get_mcaptcha_from_safety</a></li><li><a href="utils/fn.get_safety_name.html">utils::get_safety_name</a></li><li><a href="utils/fn.get_timer_name_from_bucket_name.html">utils::get_timer_name_from_bucket_name</a></li><li><a href="utils/fn.is_bucket_timer.html">utils::is_bucket_timer</a></li><li><a href="utils/fn.is_mcaptcha_safety.html">utils::is_mcaptcha_safety</a></li></ul><h3 id="Typedefs">Typedefs</h3><ul class="typedefs docblock"><li><a href="errors/type.CacheResult.html">errors::CacheResult</a></li></ul><h3 id="Statics">Statics</h3><ul class="statics docblock"><li><a href="bucket/static.MCAPTCHA_BUCKET_TYPE.html">bucket::MCAPTCHA_BUCKET_TYPE</a></li><li><a href="mcaptcha/static.MCAPTCHA_MCAPTCHA_TYPE.html">mcaptcha::MCAPTCHA_MCAPTCHA_TYPE</a></li><li><a href="safety/static.MCAPTCHA_SAFETY_TYPE.html">safety::MCAPTCHA_SAFETY_TYPE</a></li></ul><h3 id="Constants">Constants</h3><ul class="constants docblock"><li><a href="constant.BUCKET_EXPIRY_OFFSET.html">BUCKET_EXPIRY_OFFSET</a></li><li><a href="constant.HIT_PER_SECOND.html">HIT_PER_SECOND</a></li><li><a href="constant.PKG_NAME.html">PKG_NAME</a></li><li><a href="constant.PKG_VERSION.html">PKG_VERSION</a></li><li><a href="constant.PREFIX_BUCKET_TIMER.html">PREFIX_BUCKET_TIMER</a></li><li><a href="constant.PREFIX_SAFETY.html">PREFIX_SAFETY</a></li><li><a href="bucket/constant.REDIS_MCAPTCHA_BUCKET_TYPE_VERSION.html">bucket::REDIS_MCAPTCHA_BUCKET_TYPE_VERSION</a></li><li><a href="mcaptcha/constant.REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION.html">mcaptcha::REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION</a></li><li><a href="safety/constant.MCAPTCHA_SAFETY_VERSION.html">safety::MCAPTCHA_SAFETY_VERSION</a></li><li><a href="safety/type_methods/constant.SAFETY_RDB_VAL.html">safety::type_methods::SAFETY_RDB_VAL</a></li></ul></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="cache" data-search-js="../search-index.js"></div>
|
||||
</h1><h3 id="Structs">Structs</h3><ul class="structs docblock"><li><a href="struct.ID.html">ID</a></li><li><a href="struct.PREFIX_BUCKET.html">PREFIX_BUCKET</a></li><li><a href="struct.PREFIX_CAPTCHA.html">PREFIX_CAPTCHA</a></li><li><a href="bucket/struct.Bucket.html">bucket::Bucket</a></li><li><a href="mcaptcha/struct.MCaptcha.html">mcaptcha::MCaptcha</a></li><li><a href="safety/struct.MCaptchaSafety.html">safety::MCaptchaSafety</a></li></ul><h3 id="Enums">Enums</h3><ul class="enums docblock"><li><a href="bucket/enum.Format.html">bucket::Format</a></li><li><a href="errors/enum.CacheError.html">errors::CacheError</a></li></ul><h3 id="Functions">Functions</h3><ul class="functions docblock"><li><a href="fn.RedisModule_OnLoad.html">RedisModule_OnLoad</a></li><li><a href="fn.RedisModule_OnUnload.html">RedisModule_OnUnload</a></li><li><a href="bucket/type_methods/fn.free.html">bucket::type_methods::free</a></li><li><a href="bucket/type_methods/fn.rdb_load.html">bucket::type_methods::rdb_load</a></li><li><a href="bucket/type_methods/fn.rdb_save.html">bucket::type_methods::rdb_save</a></li><li><a href="mcaptcha/type_methods/fn.free.html">mcaptcha::type_methods::free</a></li><li><a href="mcaptcha/type_methods/fn.rdb_load.html">mcaptcha::type_methods::rdb_load</a></li><li><a href="mcaptcha/type_methods/fn.rdb_save.html">mcaptcha::type_methods::rdb_save</a></li><li><a href="fn.on_delete.html">on_delete</a></li><li><a href="safety/type_methods/fn.free.html">safety::type_methods::free</a></li><li><a href="safety/type_methods/fn.rdb_load.html">safety::type_methods::rdb_load</a></li><li><a href="safety/type_methods/fn.rdb_save.html">safety::type_methods::rdb_save</a></li><li><a href="utils/fn.get_bucket_instant.html">utils::get_bucket_instant</a></li><li><a href="utils/fn.get_bucket_name.html">utils::get_bucket_name</a></li><li><a href="utils/fn.get_bucket_name_from_timer_name.html">utils::get_bucket_name_from_timer_name</a></li><li><a href="utils/fn.get_captcha_key.html">utils::get_captcha_key</a></li><li><a href="utils/fn.get_mcaptcha_from_safety.html">utils::get_mcaptcha_from_safety</a></li><li><a href="utils/fn.get_safety_name.html">utils::get_safety_name</a></li><li><a href="utils/fn.get_timer_name_from_bucket_name.html">utils::get_timer_name_from_bucket_name</a></li><li><a href="utils/fn.is_bucket_timer.html">utils::is_bucket_timer</a></li><li><a href="utils/fn.is_mcaptcha_safety.html">utils::is_mcaptcha_safety</a></li></ul><h3 id="Typedefs">Typedefs</h3><ul class="typedefs docblock"><li><a href="errors/type.CacheResult.html">errors::CacheResult</a></li></ul><h3 id="Statics">Statics</h3><ul class="statics docblock"><li><a href="bucket/static.MCAPTCHA_BUCKET_TYPE.html">bucket::MCAPTCHA_BUCKET_TYPE</a></li><li><a href="mcaptcha/static.MCAPTCHA_MCAPTCHA_TYPE.html">mcaptcha::MCAPTCHA_MCAPTCHA_TYPE</a></li><li><a href="safety/static.MCAPTCHA_SAFETY_TYPE.html">safety::MCAPTCHA_SAFETY_TYPE</a></li></ul><h3 id="Constants">Constants</h3><ul class="constants docblock"><li><a href="constant.BUCKET_EXPIRY_OFFSET.html">BUCKET_EXPIRY_OFFSET</a></li><li><a href="constant.HIT_PER_SECOND.html">HIT_PER_SECOND</a></li><li><a href="constant.PKG_NAME.html">PKG_NAME</a></li><li><a href="constant.PKG_VERSION.html">PKG_VERSION</a></li><li><a href="constant.PREFIX_BUCKET_TIMER.html">PREFIX_BUCKET_TIMER</a></li><li><a href="constant.PREFIX_SAFETY.html">PREFIX_SAFETY</a></li><li><a href="bucket/constant.REDIS_MCAPTCHA_BUCKET_TYPE_VERSION.html">bucket::REDIS_MCAPTCHA_BUCKET_TYPE_VERSION</a></li><li><a href="mcaptcha/constant.REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION.html">mcaptcha::REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION</a></li><li><a href="safety/constant.MCAPTCHA_SAFETY_VERSION.html">safety::MCAPTCHA_SAFETY_VERSION</a></li><li><a href="safety/type_methods/constant.SAFETY_RDB_VAL.html">safety::type_methods::SAFETY_RDB_VAL</a></li></ul></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="cache" data-search-js="../search-index.js"></div>
|
||||
<script src="../main.js"></script></body></html>
|
2
cache/bucket/index.html
vendored
2
cache/bucket/index.html
vendored
|
@ -1,7 +1,7 @@
|
|||
<!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="API documentation for the Rust `bucket` mod in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, bucket"><title>cache::bucket - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../cache/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module bucket</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#statics">Statics</a></li></ul></div><p class="location"><a href="../index.html">cache</a></p><div id="sidebar-vars" data-name="bucket" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">cache</a>::<wbr><a class="mod" href="">bucket</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/bucket.rs.html#18-292" title="goto source code">[src]</a></span></h1><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">cache</a>::<wbr><a class="mod" href="">bucket</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/bucket.rs.html#18-294" title="goto source code">[src]</a></span></h1><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2>
|
||||
<table><tr class="module-item"><td><a class="mod" href="type_methods/index.html" title="cache::bucket::type_methods mod">type_methods</a></td><td class="docblock-short"></td></tr></table><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||
<table><tr class="module-item"><td><a class="struct" href="struct.Bucket.html" title="cache::bucket::Bucket struct">Bucket</a></td><td class="docblock-short"></td></tr></table><h2 id="enums" class="section-header"><a href="#enums">Enums</a></h2>
|
||||
<table><tr class="module-item"><td><a class="enum" href="enum.Format.html" title="cache::bucket::Format enum">Format</a></td><td class="docblock-short"><p>encoding formats for persistence</p>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!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="API documentation for the Rust `MCAPTCHA_BUCKET_TYPE` static in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, MCAPTCHA_BUCKET_TYPE"><title>cache::bucket::MCAPTCHA_BUCKET_TYPE - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc static"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../cache/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../index.html">cache</a>::<wbr><a href="index.html">bucket</a></p><div id="sidebar-vars" data-name="MCAPTCHA_BUCKET_TYPE" data-ty="static" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Static <a href="../index.html">cache</a>::<wbr><a href="index.html">bucket</a>::<wbr><a class="static" href="">MCAPTCHA_BUCKET_TYPE</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/bucket.rs.html#231-255" title="goto source code">[src]</a></span></h1><pre class="rust static">pub static MCAPTCHA_BUCKET_TYPE: RedisType</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cache" data-search-js="../../search-index.js"></div>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Static <a href="../index.html">cache</a>::<wbr><a href="index.html">bucket</a>::<wbr><a class="static" href="">MCAPTCHA_BUCKET_TYPE</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/bucket.rs.html#233-257" title="goto source code">[src]</a></span></h1><pre class="rust static">pub static MCAPTCHA_BUCKET_TYPE: RedisType</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cache" data-search-js="../../search-index.js"></div>
|
||||
<script src="../../main.js"></script></body></html>
|
8
cache/bucket/struct.Bucket.html
vendored
8
cache/bucket/struct.Bucket.html
vendored
|
@ -9,13 +9,13 @@
|
|||
Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.timer" class="structfield small-section-header"><a href="#structfield.timer" class="anchor field"></a><code>timer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span><div class="docblock"><p>timer ID</p>
|
||||
</div><span id="structfield.bucket_instant" class="structfield small-section-header"><a href="#structfield.bucket_instant" class="anchor field"></a><code>bucket_instant: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span><div class="docblock"><p>instant(seconds from UNIX_EPOCH) at which time bucket begins decrement process</p>
|
||||
</div><span id="structfield.decrement" class="structfield small-section-header"><a href="#structfield.decrement" class="anchor field"></a><code>decrement: <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>></code></span><div class="docblock"><p>a list of captcha keys that should be decremented during clean up</p>
|
||||
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><h3 id="impl" class="impl"><code class="in-band">impl <a class="struct" href="../../cache/bucket/struct.Bucket.html" title="struct cache::bucket::Bucket">Bucket</a></code><a href="#impl" class="anchor"></a><a class="srclink" href="../../src/cache/bucket.rs.html#68-229" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.on_delete" class="method"><code>pub fn <a href="#method.on_delete" class="fnname">on_delete</a>(<br> ctx: &Context, <br> _event_type: NotifyEvent, <br> _event: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> key_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>)</code><a class="srclink" href="../../src/cache/bucket.rs.html#69-88" title="goto source code">[src]</a></h4><h4 id="method.new" class="method"><code>fn <a href="#method.new" class="fnname">new</a>(ctx: &Context, duration: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/bucket.rs.html#92-108" title="goto source code">[src]</a></h4><div class="docblock"><p>creates new bucket and sets off timer to go off at <code>duration</code></p>
|
||||
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><h3 id="impl" class="impl"><code class="in-band">impl <a class="struct" href="../../cache/bucket/struct.Bucket.html" title="struct cache::bucket::Bucket">Bucket</a></code><a href="#impl" class="anchor"></a><a class="srclink" href="../../src/cache/bucket.rs.html#68-231" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.on_delete" class="method"><code>pub fn <a href="#method.on_delete" class="fnname">on_delete</a>(<br> ctx: &Context, <br> _event_type: NotifyEvent, <br> _event: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, <br> key_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a><br>)</code><a class="srclink" href="../../src/cache/bucket.rs.html#69-88" title="goto source code">[src]</a></h4><h4 id="method.new" class="method"><code>fn <a href="#method.new" class="fnname">new</a>(ctx: &Context, duration: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/bucket.rs.html#92-108" title="goto source code">[src]</a></h4><div class="docblock"><p>creates new bucket and sets off timer to go off at <code>duration</code></p>
|
||||
</div><h4 id="method.decrement_runner" class="method"><code>fn <a href="#method.decrement_runner" class="fnname">decrement_runner</a>(ctx: &Context, key: &RedisKeyWritable)</code><a class="srclink" href="../../src/cache/bucket.rs.html#113-135" title="goto source code">[src]</a></h4><div class="docblock"><p>decrement runner that decrements all registered counts <em>without</em> cleaning after itself
|
||||
use [decrement] when you require auto cleanup. Internally, it calls this method.</p>
|
||||
</div><h4 id="method.decrement" class="method"><code>fn <a href="#method.decrement" class="fnname">decrement</a>(ctx: &Context, bucket_instant: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</code><a class="srclink" href="../../src/cache/bucket.rs.html#138-154" title="goto source code">[src]</a></h4><div class="docblock"><p>executes when timer goes off. Decrements all registered counts and cleans itself up</p>
|
||||
</div><h4 id="method.increment" class="method"><code>fn <a href="#method.increment" class="fnname">increment</a>(ctx: &Context, captcha: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/bucket.rs.html#158-183" title="goto source code">[src]</a></h4><div class="docblock"><p>increments count of key = captcha and registers for auto decrement</p>
|
||||
</div><h4 id="method.increment_by" class="method"><code>pub fn <a href="#method.increment_by" class="fnname">increment_by</a>(<br> ctx: &Context, <br> (captcha_name, duration): <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <br> increment_by: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/bucket.rs.html#186-218" title="goto source code">[src]</a></h4><div class="docblock"><p>open bucket, set decrement by specified number</p>
|
||||
</div><h4 id="method.counter_create" class="method"><code>pub fn <a href="#method.counter_create" class="fnname">counter_create</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/bucket.rs.html#221-228" title="goto source code">[src]</a></h4><div class="docblock"><p>Create new counter</p>
|
||||
</div><h4 id="method.increment" class="method"><code>fn <a href="#method.increment" class="fnname">increment</a>(ctx: &Context, captcha: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/bucket.rs.html#158-185" title="goto source code">[src]</a></h4><div class="docblock"><p>increments count of key = captcha and registers for auto decrement</p>
|
||||
</div><h4 id="method.increment_by" class="method"><code>pub fn <a href="#method.increment_by" class="fnname">increment_by</a>(<br> ctx: &Context, <br> (captcha_name, duration): <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>, <br> increment_by: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/bucket.rs.html#188-220" title="goto source code">[src]</a></h4><div class="docblock"><p>open bucket, set decrement by specified number</p>
|
||||
</div><h4 id="method.counter_create" class="method"><code>pub fn <a href="#method.counter_create" class="fnname">counter_create</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/bucket.rs.html#223-230" title="goto source code">[src]</a></h4><div class="docblock"><p>Create new counter</p>
|
||||
</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Clone" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../cache/bucket/struct.Bucket.html" title="struct cache::bucket::Bucket">Bucket</a></code><a href="#impl-Clone" class="anchor"></a><a class="srclink" href="../../src/cache/bucket.rs.html#58" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.clone" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&self) -> <a class="struct" href="../../cache/bucket/struct.Bucket.html" title="struct cache::bucket::Bucket">Bucket</a></code><a class="srclink" href="../../src/cache/bucket.rs.html#58" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
|
||||
</div><h4 id="method.clone_from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</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/core/clone.rs.html#130" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
|
||||
</div></div><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../cache/bucket/struct.Bucket.html" title="struct cache::bucket::Bucket">Bucket</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../src/cache/bucket.rs.html#58" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../src/cache/bucket.rs.html#58" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
|
||||
|
|
2
cache/bucket/type_methods/fn.free.html
vendored
2
cache/bucket/type_methods/fn.free.html
vendored
|
@ -1,5 +1,5 @@
|
|||
<!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="API documentation for the Rust `free` fn in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, free"><title>cache::bucket::type_methods::free - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../cache/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a></p><div id="sidebar-vars" data-name="free" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">free</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/bucket.rs.html#279-282" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub unsafe extern "C" fn free(value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">free</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/bucket.rs.html#281-284" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub unsafe extern "C" fn free(value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<script src="../../../main.js"></script></body></html>
|
2
cache/bucket/type_methods/fn.rdb_load.html
vendored
2
cache/bucket/type_methods/fn.rdb_load.html
vendored
|
@ -1,5 +1,5 @@
|
|||
<!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="API documentation for the Rust `rdb_load` fn in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, rdb_load"><title>cache::bucket::type_methods::rdb_load - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../cache/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a></p><div id="sidebar-vars" data-name="rdb_load" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">rdb_load</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/bucket.rs.html#265-277" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub extern "C" fn rdb_load(<br> rdb: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>RedisModuleIO, <br> encver: c_int<br>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">rdb_load</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/bucket.rs.html#267-279" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub extern "C" fn rdb_load(<br> rdb: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>RedisModuleIO, <br> encver: c_int<br>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<script src="../../../main.js"></script></body></html>
|
2
cache/bucket/type_methods/fn.rdb_save.html
vendored
2
cache/bucket/type_methods/fn.rdb_save.html
vendored
|
@ -1,5 +1,5 @@
|
|||
<!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="API documentation for the Rust `rdb_save` fn in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, rdb_save"><title>cache::bucket::type_methods::rdb_save - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../cache/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a></p><div id="sidebar-vars" data-name="rdb_save" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">rdb_save</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/bucket.rs.html#285-291" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub unsafe extern "C" fn rdb_save(rdb: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>RedisModuleIO, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">rdb_save</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/bucket.rs.html#287-293" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub unsafe extern "C" fn rdb_save(rdb: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>RedisModuleIO, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<script src="../../../main.js"></script></body></html>
|
2
cache/bucket/type_methods/index.html
vendored
2
cache/bucket/type_methods/index.html
vendored
|
@ -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="API documentation for the Rust `type_methods` mod in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, type_methods"><title>cache::bucket::type_methods - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../cache/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module type_methods</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#functions">Functions</a></li></ul></div><p class="location"><a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a></p><div id="sidebar-vars" data-name="type_methods" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a class="mod" href="">type_methods</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/bucket.rs.html#257-292" title="goto source code">[src]</a></span></h1><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">cache</a>::<wbr><a href="../index.html">bucket</a>::<wbr><a class="mod" href="">type_methods</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/bucket.rs.html#259-294" title="goto source code">[src]</a></span></h1><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||
<table><tr class="module-item"><td><a class="fn" href="fn.free.html" title="cache::bucket::type_methods::free fn">free</a><a title="unsafe function" href="#"><sup>⚠</sup></a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rdb_load.html" title="cache::bucket::type_methods::rdb_load fn">rdb_load</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rdb_save.html" title="cache::bucket::type_methods::rdb_save fn">rdb_save</a><a title="unsafe function" href="#"><sup>⚠</sup></a></td><td class="docblock-short"></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<script src="../../../main.js"></script></body></html>
|
2
cache/mcaptcha/index.html
vendored
2
cache/mcaptcha/index.html
vendored
|
@ -3,7 +3,7 @@
|
|||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../cache/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module mcaptcha</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#constants">Constants</a></li><li><a href="#statics">Statics</a></li></ul></div><p class="location"><a href="../index.html">cache</a></p><div id="sidebar-vars" data-name="mcaptcha" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">cache</a>::<wbr><a class="mod" href="">mcaptcha</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/mcaptcha.rs.html#1-339" title="goto source code">[src]</a></span></h1><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2>
|
||||
<table><tr class="module-item"><td><a class="mod" href="type_methods/index.html" title="cache::mcaptcha::type_methods mod">type_methods</a></td><td class="docblock-short"></td></tr></table><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2>
|
||||
<table><tr class="module-item"><td><a class="struct" href="struct.CreateMCaptcha.html" title="cache::mcaptcha::CreateMCaptcha struct">CreateMCaptcha</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="struct" href="struct.MCaptcha.html" title="cache::mcaptcha::MCaptcha struct">MCaptcha</a></td><td class="docblock-short"></td></tr></table><h2 id="constants" class="section-header"><a href="#constants">Constants</a></h2>
|
||||
<table><tr class="module-item"><td><a class="struct" href="struct.MCaptcha.html" title="cache::mcaptcha::MCaptcha struct">MCaptcha</a></td><td class="docblock-short"></td></tr></table><h2 id="constants" class="section-header"><a href="#constants">Constants</a></h2>
|
||||
<table><tr class="module-item"><td><a class="constant" href="constant.REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION.html" title="cache::mcaptcha::REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION constant">REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION</a></td><td class="docblock-short"></td></tr></table><h2 id="statics" class="section-header"><a href="#statics">Statics</a></h2>
|
||||
<table><tr class="module-item"><td><a class="static" href="static.MCAPTCHA_MCAPTCHA_TYPE.html" title="cache::mcaptcha::MCAPTCHA_MCAPTCHA_TYPE static">MCAPTCHA_MCAPTCHA_TYPE</a></td><td class="docblock-short"></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cache" data-search-js="../../search-index.js"></div>
|
||||
<script src="../../main.js"></script></body></html>
|
2
cache/mcaptcha/sidebar-items.js
vendored
2
cache/mcaptcha/sidebar-items.js
vendored
|
@ -1 +1 @@
|
|||
initSidebarItems({"constant":[["REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION",""]],"mod":[["type_methods",""]],"static":[["MCAPTCHA_MCAPTCHA_TYPE",""]],"struct":[["CreateMCaptcha",""],["MCaptcha",""]]});
|
||||
initSidebarItems({"constant":[["REDIS_MCPATCHA_MCAPTCHA_TYPE_VERSION",""]],"mod":[["type_methods",""]],"static":[["MCAPTCHA_MCAPTCHA_TYPE",""]],"struct":[["MCaptcha",""]]});
|
|
@ -1,5 +1,5 @@
|
|||
<!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="API documentation for the Rust `MCAPTCHA_MCAPTCHA_TYPE` static in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, MCAPTCHA_MCAPTCHA_TYPE"><title>cache::mcaptcha::MCAPTCHA_MCAPTCHA_TYPE - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc static"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../cache/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../index.html">cache</a>::<wbr><a href="index.html">mcaptcha</a></p><div id="sidebar-vars" data-name="MCAPTCHA_MCAPTCHA_TYPE" data-ty="static" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Static <a href="../index.html">cache</a>::<wbr><a href="index.html">mcaptcha</a>::<wbr><a class="static" href="">MCAPTCHA_MCAPTCHA_TYPE</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/mcaptcha.rs.html#188-212" title="goto source code">[src]</a></span></h1><pre class="rust static">pub static MCAPTCHA_MCAPTCHA_TYPE: RedisType</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cache" data-search-js="../../search-index.js"></div>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Static <a href="../index.html">cache</a>::<wbr><a href="index.html">mcaptcha</a>::<wbr><a class="static" href="">MCAPTCHA_MCAPTCHA_TYPE</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/mcaptcha.rs.html#187-211" title="goto source code">[src]</a></span></h1><pre class="rust static">pub static MCAPTCHA_MCAPTCHA_TYPE: RedisType</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cache" data-search-js="../../search-index.js"></div>
|
||||
<script src="../../main.js"></script></body></html>
|
20
cache/mcaptcha/struct.CreateMCaptcha.html
vendored
20
cache/mcaptcha/struct.CreateMCaptcha.html
vendored
|
@ -1,20 +0,0 @@
|
|||
<!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="API documentation for the Rust `CreateMCaptcha` struct in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, CreateMCaptcha"><title>cache::mcaptcha::CreateMCaptcha - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../cache/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Struct CreateMCaptcha</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.duration">duration</a><a href="#structfield.levels">levels</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Deserialize%3C%27de%3E">Deserialize<'de></a><a href="#impl-Serialize">Serialize</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a><a href="#impl-VZip%3CV%3E">VZip<V></a></div></div><p class="location"><a href="../index.html">cache</a>::<wbr><a href="index.html">mcaptcha</a></p><div id="sidebar-vars" data-name="CreateMCaptcha" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../index.html">cache</a>::<wbr><a href="index.html">mcaptcha</a>::<wbr><a class="struct" href="">CreateMCaptcha</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/mcaptcha.rs.html#44-47" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct CreateMCaptcha {
|
||||
levels: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Level>,
|
||||
duration: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>,
|
||||
}</pre></div><h2 id="fields" class="fields small-section-header">
|
||||
Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.levels" class="structfield small-section-header"><a href="#structfield.levels" class="anchor field"></a><code>levels: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><Level></code></span><span id="structfield.duration" class="structfield small-section-header"><a href="#structfield.duration" class="anchor field"></a><code>duration: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code></span><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../../cache/mcaptcha/struct.CreateMCaptcha.html" title="struct cache::mcaptcha::CreateMCaptcha">CreateMCaptcha</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../src/cache/mcaptcha.rs.html#43" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="type" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#43" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
|
||||
</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../../cache/mcaptcha/struct.CreateMCaptcha.html" title="struct cache::mcaptcha::CreateMCaptcha">CreateMCaptcha</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../src/cache/mcaptcha.rs.html#43" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a><__S>(&self, __serializer: __S) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><__S::<a class="type" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>> <span class="where fmt-newline">where<br> __S: <a class="trait" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>, </span></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#43" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
|
||||
</div></div></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"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../cache/mcaptcha/struct.CreateMCaptcha.html" title="struct cache::mcaptcha::CreateMCaptcha">CreateMCaptcha</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../cache/mcaptcha/struct.CreateMCaptcha.html" title="struct cache::mcaptcha::CreateMCaptcha">CreateMCaptcha</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../cache/mcaptcha/struct.CreateMCaptcha.html" title="struct cache::mcaptcha::CreateMCaptcha">CreateMCaptcha</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../cache/mcaptcha/struct.CreateMCaptcha.html" title="struct cache::mcaptcha::CreateMCaptcha">CreateMCaptcha</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../cache/mcaptcha/struct.CreateMCaptcha.html" title="struct cache::mcaptcha::CreateMCaptcha">CreateMCaptcha</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||||
</div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208-213" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
|
||||
</div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216-220" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
|
||||
</div></div><h3 id="impl-DeserializeOwned" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.DeserializeOwned.html" title="trait serde::de::DeserializeOwned">DeserializeOwned</a> for T <span class="where fmt-newline">where<br> T: for<'de> <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de>, </span></code><a href="#impl-DeserializeOwned" class="anchor"></a><a class="srclink" href="https://docs.rs/serde/1.0.126/src/serde/de/mod.rs.html#603" title="goto source code">[src]</a></h3><div class="impl-items"></div><h3 id="impl-From%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href="#impl-From%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#544-548" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#545" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||||
</div></div><h3 id="impl-Into%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href="#impl-Into%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#533-540" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> U</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#537" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||||
</div></div><h3 id="impl-TryFrom%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#581-590" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||||
</div><h4 id="method.try_from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#587" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||||
</div></div><h3 id="impl-TryInto%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href="#impl-TryInto%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#567-576" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error-1" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
|
||||
</div><h4 id="method.try_into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#573" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
|
||||
</div></div><h3 id="impl-VZip%3CV%3E" class="impl"><code class="in-band">impl<V, T> VZip<V> for T <span class="where fmt-newline">where<br> V: MultiLane<T>, </span></code><a href="#impl-VZip%3CV%3E" class="anchor"></a></h3><div class="impl-items"><h4 id="method.vzip" class="method hidden"><code>pub fn <a href="#method.vzip" class="fnname">vzip</a>(self) -> V</code></h4></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="cache" data-search-js="../../search-index.js"></div>
|
||||
<script src="../../main.js"></script></body></html>
|
26
cache/mcaptcha/struct.MCaptcha.html
vendored
26
cache/mcaptcha/struct.MCaptcha.html
vendored
|
@ -1,21 +1,21 @@
|
|||
<!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="API documentation for the Rust `MCaptcha` struct in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, MCaptcha"><title>cache::mcaptcha::MCaptcha - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../cache/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Struct MCaptcha</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.m">m</a></div><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.add_captcha">add_captcha</a><a href="#method.add_visitor">add_visitor</a><a href="#method.captcha_exists">captcha_exists</a><a href="#method.decrement_visitor">decrement_visitor</a><a href="#method.decrement_visitor_by">decrement_visitor_by</a><a href="#method.delete_captcha">delete_captcha</a><a href="#method.get_count">get_count</a><a href="#method.get_difficulty">get_difficulty</a><a href="#method.get_duration">get_duration</a><a href="#method.get_mcaptcha">get_mcaptcha</a><a href="#method.get_mut_mcaptcha">get_mut_mcaptcha</a><a href="#method.get_visitors">get_visitors</a><a href="#method.new">new</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Deserialize%3C%27de%3E">Deserialize<'de></a><a href="#impl-Serialize">Serialize</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a><a href="#impl-VZip%3CV%3E">VZip<V></a></div></div><p class="location"><a href="../index.html">cache</a>::<wbr><a href="index.html">mcaptcha</a></p><div id="sidebar-vars" data-name="MCaptcha" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../cache/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Struct MCaptcha</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.m">m</a></div><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.add_captcha">add_captcha</a><a href="#method.add_visitor">add_visitor</a><a href="#method.captcha_exists">captcha_exists</a><a href="#method.decrement_visitor">decrement_visitor</a><a href="#method.decrement_visitor_by">decrement_visitor_by</a><a href="#method.delete_captcha">delete_captcha</a><a href="#method.get_add_visitor_result">get_add_visitor_result</a><a href="#method.get_count">get_count</a><a href="#method.get_difficulty">get_difficulty</a><a href="#method.get_duration">get_duration</a><a href="#method.get_mcaptcha">get_mcaptcha</a><a href="#method.get_mut_mcaptcha">get_mut_mcaptcha</a><a href="#method.get_visitors">get_visitors</a><a href="#method.new">new</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Deserialize%3C%27de%3E">Deserialize<'de></a><a href="#impl-Serialize">Serialize</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a><a href="#impl-VZip%3CV%3E">VZip<V></a></div></div><p class="location"><a href="../index.html">cache</a>::<wbr><a href="index.html">mcaptcha</a></p><div id="sidebar-vars" data-name="MCaptcha" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../index.html">cache</a>::<wbr><a href="index.html">mcaptcha</a>::<wbr><a class="struct" href="">MCaptcha</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/cache/mcaptcha.rs.html#39-41" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct MCaptcha {
|
||||
m: MCaptcha,
|
||||
}</pre></div><h2 id="fields" class="fields small-section-header">
|
||||
Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.m" class="structfield small-section-header"><a href="#structfield.m" class="anchor field"></a><code>m: MCaptcha</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><h3 id="impl" class="impl"><code class="in-band">impl <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl" class="anchor"></a><a class="srclink" href="../../src/cache/mcaptcha.rs.html#49-186" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.new" class="method"><code>fn <a href="#method.new" class="fnname">new</a>(m: <a class="struct" href="../../cache/mcaptcha/struct.CreateMCaptcha.html" title="struct cache::mcaptcha::CreateMCaptcha">CreateMCaptcha</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#51-65" title="goto source code">[src]</a></h4><h4 id="method.add_visitor" class="method"><code>pub fn <a href="#method.add_visitor" class="fnname">add_visitor</a>(&mut self)</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#69-71" title="goto source code">[src]</a></h4><div class="docblock"><p>increments the visitor count by one</p>
|
||||
</div><h4 id="method.decrement_visitor" class="method"><code>pub fn <a href="#method.decrement_visitor" class="fnname">decrement_visitor</a>(&mut self)</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#76-78" title="goto source code">[src]</a></h4><div class="docblock"><p>decrements the visitor count by one</p>
|
||||
</div><h4 id="method.get_difficulty" class="method"><code>pub fn <a href="#method.get_difficulty" class="fnname">get_difficulty</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#83-85" title="goto source code">[src]</a></h4><div class="docblock"><p>get current difficulty factor</p>
|
||||
</div><h4 id="method.get_duration" class="method"><code>pub fn <a href="#method.get_duration" class="fnname">get_duration</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#90-92" title="goto source code">[src]</a></h4><div class="docblock"><p>get <a href="../../cache/mcaptcha/struct.MCaptcha.html" title="MCaptcha">MCaptcha</a>’s lifetime</p>
|
||||
</div><h4 id="method.get_visitors" class="method"><code>pub fn <a href="#method.get_visitors" class="fnname">get_visitors</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#97-99" title="goto source code">[src]</a></h4><div class="docblock"><p>get <a href="../../cache/mcaptcha/struct.MCaptcha.html" title="MCaptcha">MCaptcha</a>’s current visitor_threshold</p>
|
||||
</div><h4 id="method.decrement_visitor_by" class="method"><code>pub fn <a href="#method.decrement_visitor_by" class="fnname">decrement_visitor_by</a>(&mut self, count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#103-105" title="goto source code">[src]</a></h4><div class="docblock"><p>decrement <a href="../../cache/mcaptcha/struct.MCaptcha.html" title="MCaptcha">MCaptcha</a>’s current visitor_threshold by specified count</p>
|
||||
</div><h4 id="method.get_mut_mcaptcha" class="method"><code>pub fn <a href="#method.get_mut_mcaptcha" class="fnname">get_mut_mcaptcha</a><'a>(<br> key: &'a RedisKeyWritable<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>Self>, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#109-111" title="goto source code">[src]</a></h4><div class="docblock"><p>get mcaptcha from redis key writable</p>
|
||||
</div><h4 id="method.get_mcaptcha" class="method"><code>pub fn <a href="#method.get_mcaptcha" class="fnname">get_mcaptcha</a><'a>(<br> key: &'a RedisKey<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>Self>, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#115-117" title="goto source code">[src]</a></h4><div class="docblock"><p>get mcaptcha from redis key</p>
|
||||
</div><h4 id="method.get_count" class="method"><code>pub fn <a href="#method.get_count" class="fnname">get_count</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#120-134" title="goto source code">[src]</a></h4><div class="docblock"><p>Get counter value</p>
|
||||
</div><h4 id="method.add_captcha" class="method"><code>pub fn <a href="#method.add_captcha" class="fnname">add_captcha</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#137-156" title="goto source code">[src]</a></h4><div class="docblock"><p>Add captcha to redis</p>
|
||||
</div><h4 id="method.captcha_exists" class="method"><code>pub fn <a href="#method.captcha_exists" class="fnname">captcha_exists</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#159-171" title="goto source code">[src]</a></h4><div class="docblock"><p>check if captcha exists</p>
|
||||
</div><h4 id="method.delete_captcha" class="method"><code>pub fn <a href="#method.delete_captcha" class="fnname">delete_captcha</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#174-185" title="goto source code">[src]</a></h4><div class="docblock"><p>Add captcha to redis</p>
|
||||
Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.m" class="structfield small-section-header"><a href="#structfield.m" class="anchor field"></a><code>m: MCaptcha</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><h3 id="impl" class="impl"><code class="in-band">impl <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl" class="anchor"></a><a class="srclink" href="../../src/cache/mcaptcha.rs.html#43-185" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.get_add_visitor_result" class="method"><code>pub fn <a href="#method.get_add_visitor_result" class="fnname">get_add_visitor_result</a>(&self) -> AddVisitorResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#45-47" title="goto source code">[src]</a></h4><h4 id="method.new" class="method"><code>fn <a href="#method.new" class="fnname">new</a>(m: CreateMCaptcha) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#50-64" title="goto source code">[src]</a></h4><h4 id="method.add_visitor" class="method"><code>pub fn <a href="#method.add_visitor" class="fnname">add_visitor</a>(&mut self)</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#68-70" title="goto source code">[src]</a></h4><div class="docblock"><p>increments the visitor count by one</p>
|
||||
</div><h4 id="method.decrement_visitor" class="method"><code>pub fn <a href="#method.decrement_visitor" class="fnname">decrement_visitor</a>(&mut self)</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#75-77" title="goto source code">[src]</a></h4><div class="docblock"><p>decrements the visitor count by one</p>
|
||||
</div><h4 id="method.get_difficulty" class="method"><code>pub fn <a href="#method.get_difficulty" class="fnname">get_difficulty</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#82-84" title="goto source code">[src]</a></h4><div class="docblock"><p>get current difficulty factor</p>
|
||||
</div><h4 id="method.get_duration" class="method"><code>pub fn <a href="#method.get_duration" class="fnname">get_duration</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#89-91" title="goto source code">[src]</a></h4><div class="docblock"><p>get <a href="../../cache/mcaptcha/struct.MCaptcha.html" title="MCaptcha">MCaptcha</a>’s lifetime</p>
|
||||
</div><h4 id="method.get_visitors" class="method"><code>pub fn <a href="#method.get_visitors" class="fnname">get_visitors</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#96-98" title="goto source code">[src]</a></h4><div class="docblock"><p>get <a href="../../cache/mcaptcha/struct.MCaptcha.html" title="MCaptcha">MCaptcha</a>’s current visitor_threshold</p>
|
||||
</div><h4 id="method.decrement_visitor_by" class="method"><code>pub fn <a href="#method.decrement_visitor_by" class="fnname">decrement_visitor_by</a>(&mut self, count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#102-104" title="goto source code">[src]</a></h4><div class="docblock"><p>decrement <a href="../../cache/mcaptcha/struct.MCaptcha.html" title="MCaptcha">MCaptcha</a>’s current visitor_threshold by specified count</p>
|
||||
</div><h4 id="method.get_mut_mcaptcha" class="method"><code>pub fn <a href="#method.get_mut_mcaptcha" class="fnname">get_mut_mcaptcha</a><'a>(<br> key: &'a RedisKeyWritable<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>Self>, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#108-110" title="goto source code">[src]</a></h4><div class="docblock"><p>get mcaptcha from redis key writable</p>
|
||||
</div><h4 id="method.get_mcaptcha" class="method"><code>pub fn <a href="#method.get_mcaptcha" class="fnname">get_mcaptcha</a><'a>(<br> key: &'a RedisKey<br>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>Self>, <a class="enum" href="../../cache/errors/enum.CacheError.html" title="enum cache::errors::CacheError">CacheError</a>></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#114-116" title="goto source code">[src]</a></h4><div class="docblock"><p>get mcaptcha from redis key</p>
|
||||
</div><h4 id="method.get_count" class="method"><code>pub fn <a href="#method.get_count" class="fnname">get_count</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#119-133" title="goto source code">[src]</a></h4><div class="docblock"><p>Get counter value</p>
|
||||
</div><h4 id="method.add_captcha" class="method"><code>pub fn <a href="#method.add_captcha" class="fnname">add_captcha</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#136-155" title="goto source code">[src]</a></h4><div class="docblock"><p>Add captcha to redis</p>
|
||||
</div><h4 id="method.captcha_exists" class="method"><code>pub fn <a href="#method.captcha_exists" class="fnname">captcha_exists</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#158-170" title="goto source code">[src]</a></h4><div class="docblock"><p>check if captcha exists</p>
|
||||
</div><h4 id="method.delete_captcha" class="method"><code>pub fn <a href="#method.delete_captcha" class="fnname">delete_captcha</a>(ctx: &Context, args: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> RedisResult</code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#173-184" title="goto source code">[src]</a></h4><div class="docblock"><p>Add captcha to redis</p>
|
||||
</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl<'de> <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a><'de> for <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../src/cache/mcaptcha.rs.html#38" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a><__D>(__deserializer: __D) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><Self, __D::<a class="type" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>> <span class="where fmt-newline">where<br> __D: <a class="trait" href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a><'de>, </span></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#38" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
|
||||
</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../src/cache/mcaptcha.rs.html#38" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a><__S>(&self, __serializer: __S) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><__S::<a class="type" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>> <span class="where fmt-newline">where<br> __S: <a class="trait" href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>, </span></code><a class="srclink" href="../../src/cache/mcaptcha.rs.html#38" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
|
||||
</div></div></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"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../cache/mcaptcha/struct.MCaptcha.html" title="struct cache::mcaptcha::MCaptcha">MCaptcha</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
|
||||
|
|
2
cache/mcaptcha/type_methods/fn.free.html
vendored
2
cache/mcaptcha/type_methods/fn.free.html
vendored
|
@ -1,5 +1,5 @@
|
|||
<!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="API documentation for the Rust `free` fn in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, free"><title>cache::mcaptcha::type_methods::free - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../cache/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a></p><div id="sidebar-vars" data-name="free" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">free</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/mcaptcha.rs.html#242-245" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub unsafe extern "C" fn free(value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">free</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/mcaptcha.rs.html#241-244" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub unsafe extern "C" fn free(value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<script src="../../../main.js"></script></body></html>
|
2
cache/mcaptcha/type_methods/fn.rdb_load.html
vendored
2
cache/mcaptcha/type_methods/fn.rdb_load.html
vendored
|
@ -1,5 +1,5 @@
|
|||
<!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="API documentation for the Rust `rdb_load` fn in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, rdb_load"><title>cache::mcaptcha::type_methods::rdb_load - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../cache/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a></p><div id="sidebar-vars" data-name="rdb_load" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">rdb_load</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/mcaptcha.rs.html#222-240" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub extern "C" fn rdb_load(<br> rdb: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>RedisModuleIO, <br> encver: c_int<br>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">rdb_load</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/mcaptcha.rs.html#221-239" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub extern "C" fn rdb_load(<br> rdb: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>RedisModuleIO, <br> encver: c_int<br>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a></pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<script src="../../../main.js"></script></body></html>
|
2
cache/mcaptcha/type_methods/fn.rdb_save.html
vendored
2
cache/mcaptcha/type_methods/fn.rdb_save.html
vendored
|
@ -1,5 +1,5 @@
|
|||
<!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="API documentation for the Rust `rdb_save` fn in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, rdb_save"><title>cache::mcaptcha::type_methods::rdb_save - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../cache/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a></p><div id="sidebar-vars" data-name="rdb_save" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">rdb_save</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/mcaptcha.rs.html#248-254" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub unsafe extern "C" fn rdb_save(rdb: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>RedisModuleIO, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a href="index.html">type_methods</a>::<wbr><a class="fn" href="">rdb_save</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/mcaptcha.rs.html#247-253" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub unsafe extern "C" fn rdb_save(rdb: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a>RedisModuleIO, value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="enum" href="https://doc.rust-lang.org/nightly/core/ffi/enum.c_void.html" title="enum core::ffi::c_void">c_void</a>)</pre></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<script src="../../../main.js"></script></body></html>
|
2
cache/mcaptcha/type_methods/index.html
vendored
2
cache/mcaptcha/type_methods/index.html
vendored
|
@ -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="API documentation for the Rust `type_methods` mod in crate `cache`."><meta name="keywords" content="rust, rustlang, rust-lang, type_methods"><title>cache::mcaptcha::type_methods - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><script src="../../../crates.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
|
||||
<link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../../cache/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module type_methods</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#functions">Functions</a></li></ul></div><p class="location"><a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a></p><div id="sidebar-vars" data-name="type_methods" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a class="mod" href="">type_methods</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/mcaptcha.rs.html#214-255" title="goto source code">[src]</a></span></h1><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||
<a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">cache</a>::<wbr><a href="../index.html">mcaptcha</a>::<wbr><a class="mod" href="">type_methods</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../../src/cache/mcaptcha.rs.html#213-254" title="goto source code">[src]</a></span></h1><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2>
|
||||
<table><tr class="module-item"><td><a class="fn" href="fn.free.html" title="cache::mcaptcha::type_methods::free fn">free</a><a title="unsafe function" href="#"><sup>⚠</sup></a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rdb_load.html" title="cache::mcaptcha::type_methods::rdb_load fn">rdb_load</a></td><td class="docblock-short"></td></tr><tr class="module-item"><td><a class="fn" href="fn.rdb_save.html" title="cache::mcaptcha::type_methods::rdb_save fn">rdb_save</a><a title="unsafe function" href="#"><sup>⚠</sup></a></td><td class="docblock-short"></td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../../" data-current-crate="cache" data-search-js="../../../search-index.js"></div>
|
||||
<script src="../../../main.js"></script></body></html>
|
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.CreateMCaptcha.html\" title=\"struct cache::mcaptcha::CreateMCaptcha\">CreateMCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::CreateMCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html\" title=\"trait core::marker::Freeze\">Freeze</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.CreateMCaptcha.html\" title=\"struct cache::mcaptcha::CreateMCaptcha\">CreateMCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::CreateMCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Send.html\" title=\"trait core::marker::Send\">Send</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.CreateMCaptcha.html\" title=\"struct cache::mcaptcha::CreateMCaptcha\">CreateMCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::CreateMCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html\" title=\"trait core::marker::Sync\">Sync</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.CreateMCaptcha.html\" title=\"struct cache::mcaptcha::CreateMCaptcha\">CreateMCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::CreateMCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html\" title=\"trait core::marker::Unpin\">Unpin</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["cache"] = [{"text":"impl<'de> <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a><'de> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":false,"types":["cache::bucket::Bucket"]},{"text":"impl<'de> <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a><'de> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":false,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl<'de> <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a><'de> for <a class=\"struct\" href=\"cache/mcaptcha/struct.CreateMCaptcha.html\" title=\"struct cache::mcaptcha::CreateMCaptcha\">CreateMCaptcha</a>","synthetic":false,"types":["cache::mcaptcha::CreateMCaptcha"]},{"text":"impl<'de> <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a><'de> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":false,"types":["cache::safety::MCaptchaSafety"]}];
|
||||
implementors["cache"] = [{"text":"impl<'de> <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a><'de> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":false,"types":["cache::bucket::Bucket"]},{"text":"impl<'de> <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a><'de> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":false,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl<'de> <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/de/trait.Deserialize.html\" title=\"trait serde::de::Deserialize\">Deserialize</a><'de> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":false,"types":["cache::safety::MCaptchaSafety"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":false,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":false,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.CreateMCaptcha.html\" title=\"struct cache::mcaptcha::CreateMCaptcha\">CreateMCaptcha</a>","synthetic":false,"types":["cache::mcaptcha::CreateMCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":false,"types":["cache::safety::MCaptchaSafety"]}];
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":false,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":false,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://docs.rs/serde/1.0.126/serde/ser/trait.Serialize.html\" title=\"trait serde::ser::Serialize\">Serialize</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":false,"types":["cache::safety::MCaptchaSafety"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.CreateMCaptcha.html\" title=\"struct cache::mcaptcha::CreateMCaptcha\">CreateMCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::CreateMCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html\" title=\"trait std::panic::RefUnwindSafe\">RefUnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
|
@ -1,3 +1,3 @@
|
|||
(function() {var implementors = {};
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.CreateMCaptcha.html\" title=\"struct cache::mcaptcha::CreateMCaptcha\">CreateMCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::CreateMCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
implementors["cache"] = [{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"enum\" href=\"cache/bucket/enum.Format.html\" title=\"enum cache::bucket::Format\">Format</a>","synthetic":true,"types":["cache::bucket::Format"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/bucket/struct.Bucket.html\" title=\"struct cache::bucket::Bucket\">Bucket</a>","synthetic":true,"types":["cache::bucket::Bucket"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"enum\" href=\"cache/errors/enum.CacheError.html\" title=\"enum cache::errors::CacheError\">CacheError</a>","synthetic":true,"types":["cache::errors::CacheError"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/mcaptcha/struct.MCaptcha.html\" title=\"struct cache::mcaptcha::MCaptcha\">MCaptcha</a>","synthetic":true,"types":["cache::mcaptcha::MCaptcha"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/safety/struct.MCaptchaSafety.html\" title=\"struct cache::safety::MCaptchaSafety\">MCaptchaSafety</a>","synthetic":true,"types":["cache::safety::MCaptchaSafety"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.ID.html\" title=\"struct cache::ID\">ID</a>","synthetic":true,"types":["cache::ID"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_CAPTCHA.html\" title=\"struct cache::PREFIX_CAPTCHA\">PREFIX_CAPTCHA</a>","synthetic":true,"types":["cache::PREFIX_CAPTCHA"]},{"text":"impl <a class=\"trait\" href=\"https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html\" title=\"trait std::panic::UnwindSafe\">UnwindSafe</a> for <a class=\"struct\" href=\"cache/struct.PREFIX_BUCKET.html\" title=\"struct cache::PREFIX_BUCKET\">PREFIX_BUCKET</a>","synthetic":true,"types":["cache::PREFIX_BUCKET"]}];
|
||||
if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})()
|
File diff suppressed because one or more lines are too long
12
src/cache/bucket.rs.html
vendored
12
src/cache/bucket.rs.html
vendored
|
@ -293,6 +293,8 @@
|
|||
<span id="290">290</span>
|
||||
<span id="291">291</span>
|
||||
<span id="292">292</span>
|
||||
<span id="293">293</span>
|
||||
<span id="294">294</span>
|
||||
</pre><div class="example-wrap"><pre class="rust ">
|
||||
<span class="comment">/*
|
||||
* Copyright (C) 2021 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
|
@ -451,7 +453,7 @@
|
|||
|
||||
<span class="doccomment">/// increments count of key = captcha and registers for auto decrement</span>
|
||||
<span class="attribute">#[<span class="ident">inline</span>]</span>
|
||||
<span class="kw">fn</span> <span class="ident">increment</span>(<span class="ident">ctx</span>: <span class="kw-2">&</span><span class="ident">Context</span>, <span class="ident">captcha</span>: <span class="kw-2">&</span><span class="ident">str</span>) <span class="op">-</span><span class="op">></span> <span class="ident">CacheResult</span><span class="op"><</span>()<span class="op">></span> {
|
||||
<span class="kw">fn</span> <span class="ident">increment</span>(<span class="ident">ctx</span>: <span class="kw-2">&</span><span class="ident">Context</span>, <span class="ident">captcha</span>: <span class="kw-2">&</span><span class="ident">str</span>) <span class="op">-</span><span class="op">></span> <span class="ident">CacheResult</span><span class="op"><</span><span class="ident">String</span><span class="op">></span> {
|
||||
<span class="kw">let</span> <span class="ident">captcha_name</span> <span class="op">=</span> <span class="ident">get_captcha_key</span>(<span class="ident">captcha</span>);
|
||||
<span class="ident">ctx</span>.<span class="ident">log_debug</span>(<span class="kw-2">&</span><span class="ident">captcha_name</span>);
|
||||
<span class="comment">// increment</span>
|
||||
|
@ -469,13 +471,15 @@
|
|||
<span class="ident">captcha</span>.<span class="ident">get_visitors</span>()
|
||||
));
|
||||
<span class="ident">captcha</span>.<span class="ident">add_visitor</span>();
|
||||
<span class="kw">let</span> <span class="ident">res</span> <span class="op">=</span> <span class="ident">captcha</span>.<span class="ident">get_add_visitor_result</span>();
|
||||
<span class="kw">let</span> <span class="ident">res</span> <span class="op">=</span> <span class="ident">serde_json</span>::<span class="ident">to_string</span>(<span class="kw-2">&</span><span class="ident">res</span>)<span class="question-mark">?</span>;
|
||||
|
||||
<span class="ident">ctx</span>.<span class="ident">log_debug</span>(<span class="string">"visitor added"</span>);
|
||||
<span class="kw">let</span> <span class="ident">duration</span> <span class="op">=</span> <span class="ident">captcha</span>.<span class="ident">get_duration</span>();
|
||||
|
||||
<span class="self">Self</span>::<span class="ident">increment_by</span>(<span class="ident">ctx</span>, (<span class="ident">captcha_name</span>, <span class="ident">duration</span>), <span class="number">1</span>)<span class="question-mark">?</span>;
|
||||
|
||||
<span class="prelude-val">Ok</span>(())
|
||||
<span class="prelude-val">Ok</span>(<span class="ident">res</span>)
|
||||
}
|
||||
|
||||
<span class="doccomment">/// open bucket, set decrement by specified number</span>
|
||||
|
@ -519,8 +523,8 @@
|
|||
<span class="comment">// mcaptcha captcha key name</span>
|
||||
<span class="kw">let</span> <span class="ident">key_name</span> <span class="op">=</span> <span class="ident">args</span>.<span class="ident">next_string</span>()<span class="question-mark">?</span>;
|
||||
<span class="comment">// expiry</span>
|
||||
<span class="ident">bucket</span>::<span class="ident">Bucket</span>::<span class="ident">increment</span>(<span class="ident">ctx</span>, <span class="kw-2">&</span><span class="ident">key_name</span>)<span class="question-mark">?</span>;
|
||||
<span class="ident">REDIS_OK</span>
|
||||
<span class="kw">let</span> <span class="ident">res</span> <span class="op">=</span> <span class="ident">bucket</span>::<span class="ident">Bucket</span>::<span class="ident">increment</span>(<span class="ident">ctx</span>, <span class="kw-2">&</span><span class="ident">key_name</span>)<span class="question-mark">?</span>;
|
||||
<span class="prelude-val">Ok</span>(<span class="ident">res</span>.<span class="ident">into</span>())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
2
src/cache/lib.rs.html
vendored
2
src/cache/lib.rs.html
vendored
|
@ -120,7 +120,7 @@
|
|||
<span class="kw">use</span> <span class="ident">lazy_static</span>::<span class="ident">lazy_static</span>;
|
||||
<span class="kw">use</span> <span class="ident">redis_module</span>::<span class="ident">NotifyEvent</span>;
|
||||
<span class="kw">use</span> <span class="ident">redis_module</span>::{<span class="ident">redis_command</span>, <span class="ident">redis_event_handler</span>, <span class="ident">redis_module</span>};
|
||||
<span class="kw">use</span> <span class="ident">redis_module</span>::{<span class="ident">NextArg</span>, <span class="ident">RedisResult</span>, <span class="ident">REDIS_OK</span>};
|
||||
<span class="kw">use</span> <span class="ident">redis_module</span>::{<span class="ident">NextArg</span>, <span class="ident">RedisResult</span>};
|
||||
<span class="comment">//use redis_module::RedisError;</span>
|
||||
<span class="kw">use</span> <span class="ident">redis_module</span>::<span class="ident">Context</span>;
|
||||
|
||||
|
|
16
src/cache/mcaptcha.rs.html
vendored
16
src/cache/mcaptcha.rs.html
vendored
|
@ -360,7 +360,7 @@
|
|||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/</span>
|
||||
<span class="kw">use</span> <span class="ident">libmcaptcha</span>::{<span class="ident">defense</span>::<span class="ident">Level</span>, <span class="ident">DefenseBuilder</span>, <span class="ident">MCaptchaBuilder</span>};
|
||||
<span class="kw">use</span> <span class="ident">libmcaptcha</span>::<span class="ident">dev</span>::{<span class="ident">AddVisitorResult</span>, <span class="ident">CreateMCaptcha</span>, <span class="ident">DefenseBuilder</span>, <span class="ident">MCaptchaBuilder</span>};
|
||||
<span class="kw">use</span> <span class="ident">redis_module</span>::<span class="ident">key</span>::<span class="ident">RedisKeyWritable</span>;
|
||||
<span class="kw">use</span> <span class="ident">redis_module</span>::<span class="ident">native_types</span>::<span class="ident">RedisType</span>;
|
||||
<span class="kw">use</span> <span class="ident">redis_module</span>::<span class="ident">raw</span>::<span class="ident">KeyType</span>;
|
||||
|
@ -380,16 +380,15 @@
|
|||
|
||||
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Serialize</span>, <span class="ident">Deserialize</span>)]</span>
|
||||
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">MCaptcha</span> {
|
||||
<span class="ident">m</span>: <span class="ident">libmcaptcha</span>::<span class="ident">MCaptcha</span>,
|
||||
}
|
||||
|
||||
<span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Serialize</span>, <span class="ident">Deserialize</span>)]</span>
|
||||
<span class="kw">pub</span> <span class="kw">struct</span> <span class="ident">CreateMCaptcha</span> {
|
||||
<span class="ident">levels</span>: <span class="ident">Vec</span><span class="op"><</span><span class="ident">Level</span><span class="op">></span>,
|
||||
<span class="ident">duration</span>: <span class="ident">u64</span>,
|
||||
<span class="ident">m</span>: <span class="ident">libmcaptcha</span>::<span class="ident">dev</span>::<span class="ident">MCaptcha</span>,
|
||||
}
|
||||
|
||||
<span class="kw">impl</span> <span class="ident">MCaptcha</span> {
|
||||
<span class="attribute">#[<span class="ident">inline</span>]</span>
|
||||
<span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">get_add_visitor_result</span>(<span class="kw-2">&</span><span class="self">self</span>) <span class="op">-</span><span class="op">></span> <span class="ident">AddVisitorResult</span> {
|
||||
<span class="ident">AddVisitorResult</span>::<span class="ident">new</span>(<span class="kw-2">&</span><span class="self">self</span>.<span class="ident">m</span>)
|
||||
}
|
||||
|
||||
<span class="attribute">#[<span class="ident">inline</span>]</span>
|
||||
<span class="kw">fn</span> <span class="ident">new</span>(<span class="kw-2">mut</span> <span class="ident">m</span>: <span class="ident">CreateMCaptcha</span>) <span class="op">-</span><span class="op">></span> <span class="ident">CacheResult</span><span class="op"><</span><span class="self">Self</span><span class="op">></span> {
|
||||
<span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">defense_builder</span> <span class="op">=</span> <span class="ident">DefenseBuilder</span>::<span class="ident">default</span>();
|
||||
|
@ -601,6 +600,7 @@
|
|||
<span class="kw">mod</span> <span class="ident">tests</span> {
|
||||
<span class="kw">use</span> <span class="kw">super</span>::<span class="kw-2">*</span>;
|
||||
|
||||
<span class="kw">use</span> <span class="ident">libmcaptcha</span>::<span class="ident">defense</span>::<span class="ident">Level</span>;
|
||||
<span class="kw">use</span> <span class="ident">libmcaptcha</span>::<span class="ident">defense</span>::<span class="ident">LevelBuilder</span>;
|
||||
|
||||
<span class="kw">fn</span> <span class="ident">get_levels</span>() <span class="op">-</span><span class="op">></span> <span class="ident">Vec</span><span class="op"><</span><span class="ident">Level</span><span class="op">></span> {
|
||||
|
|
Loading…
Reference in a new issue