mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-22 07:50:38 +00:00
154 lines
46 KiB
HTML
154 lines
46 KiB
HTML
<!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 `KvBackend` trait in crate `common_meta`."><title>KvBackend in common_meta::kv_backend - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-17e0aaed.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="common_meta" data-themes="" data-resource-suffix="" data-rustdoc-version="1.96.0-nightly (ac7f9ec7d 2026-03-20)" data-channel="nightly" data-search-js="search-63369b7b.js" data-stringdex-js="stringdex-2da4960a.js" data-settings-js="settings-170eb4bf.js" ><script src="../../static.files/storage-41dd4d93.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5013f961.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-f7c3ffd8.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><a class="skip-main-content" href="#main-content">Skip to main content</a><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">KvBackend</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../common_meta/index.html">common_<wbr>meta</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">KvBackend</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.as_any" title="as_any">as_any</a></li><li><a href="#tymethod.batch_delete" title="batch_delete">batch_delete</a></li><li><a href="#tymethod.batch_get" title="batch_get">batch_get</a></li><li><a href="#tymethod.batch_put" title="batch_put">batch_put</a></li><li><a href="#tymethod.delete_range" title="delete_range">delete_range</a></li><li><a href="#tymethod.name" title="name">name</a></li><li><a href="#tymethod.put" title="put">put</a></li><li><a href="#tymethod.range" title="range">range</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.compare_and_put" title="compare_and_put">compare_and_put</a></li><li><a href="#method.delete" title="delete">delete</a></li><li><a href="#method.exists" title="exists">exists</a></li><li><a href="#method.get" title="get">get</a></li><li><a href="#method.put_conditionally" title="put_conditionally">put_conditionally</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In common_<wbr>meta::<wbr>kv_<wbr>backend</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content" tabindex="-1"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">common_meta</a>::<wbr><a href="index.html">kv_backend</a></div><h1>Trait <span class="trait">KvBackend</span> <button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/common_meta/kv_backend.rs.html#53-168">Source</a> </span></div><pre class="rust item-decl"><code>pub trait KvBackend: <a class="trait" href="txn/trait.TxnService.html" title="trait common_meta::kv_backend::txn::TxnService">TxnService</a><div class="where">where
|
||
Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>: ErrorExt,</div>{
|
||
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 13 methods</span></summary> // Required methods
|
||
fn <a href="#tymethod.name" class="fn">name</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.as_any" class="fn">as_any</a>(&self) -> &dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.range" class="fn">range</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.RangeRequest.html" title="struct common_meta::rpc::store::RangeRequest">RangeRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.RangeResponse.html" title="struct common_meta::rpc::store::RangeResponse">RangeResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: 'async_trait,
|
||
'life0: 'async_trait</span>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.put" class="fn">put</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.PutRequest.html" title="struct common_meta::rpc::store::PutRequest">PutRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.PutResponse.html" title="struct common_meta::rpc::store::PutResponse">PutResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: 'async_trait,
|
||
'life0: 'async_trait</span>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.batch_put" class="fn">batch_put</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.BatchPutRequest.html" title="struct common_meta::rpc::store::BatchPutRequest">BatchPutRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.BatchPutResponse.html" title="struct common_meta::rpc::store::BatchPutResponse">BatchPutResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: 'async_trait,
|
||
'life0: 'async_trait</span>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.batch_get" class="fn">batch_get</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.BatchGetRequest.html" title="struct common_meta::rpc::store::BatchGetRequest">BatchGetRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.BatchGetResponse.html" title="struct common_meta::rpc::store::BatchGetResponse">BatchGetResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: 'async_trait,
|
||
'life0: 'async_trait</span>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.delete_range" class="fn">delete_range</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.DeleteRangeRequest.html" title="struct common_meta::rpc::store::DeleteRangeRequest">DeleteRangeRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.DeleteRangeResponse.html" title="struct common_meta::rpc::store::DeleteRangeResponse">DeleteRangeResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: 'async_trait,
|
||
'life0: 'async_trait</span>;
|
||
<span class="item-spacer"></span> fn <a href="#tymethod.batch_delete" class="fn">batch_delete</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.BatchDeleteRequest.html" title="struct common_meta::rpc::store::BatchDeleteRequest">BatchDeleteRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.BatchDeleteResponse.html" title="struct common_meta::rpc::store::BatchDeleteResponse">BatchDeleteResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: 'async_trait,
|
||
'life0: 'async_trait</span>;
|
||
|
||
// Provided methods
|
||
fn <a href="#method.get" class="fn">get</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="struct" href="../rpc/struct.KeyValue.html" title="struct common_meta::rpc::KeyValue">KeyValue</a>>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait</span> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.compare_and_put" class="fn">compare_and_put</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.CompareAndPutRequest.html" title="struct common_meta::rpc::store::CompareAndPutRequest">CompareAndPutRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.CompareAndPutResponse.html" title="struct common_meta::rpc::store::CompareAndPutResponse">CompareAndPutResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait</span> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.put_conditionally" class="fn">put_conditionally</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
key: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,
|
||
value: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,
|
||
if_not_exists: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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.bool.html">bool</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait</span> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.exists" class="fn">exists</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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.bool.html">bool</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait</span> { ... }
|
||
<span class="item-spacer"></span> fn <a href="#method.delete" class="fn">delete</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
prev_kv: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="struct" href="../rpc/struct.KeyValue.html" title="struct common_meta::rpc::KeyValue">KeyValue</a>>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>>
|
||
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait</span> { ... }
|
||
</details>}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.name" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#57">Source</a><h4 class="code-header">fn <a href="#tymethod.name" class="fn">name</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h4></section><section id="tymethod.as_any" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#59">Source</a><h4 class="code-header">fn <a href="#tymethod.as_any" class="fn">as_any</a>(&self) -> &dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a></h4></section><section id="tymethod.range" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#61">Source</a><h4 class="code-header">fn <a href="#tymethod.range" class="fn">range</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.RangeRequest.html" title="struct common_meta::rpc::store::RangeRequest">RangeRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.RangeResponse.html" title="struct common_meta::rpc::store::RangeResponse">RangeResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</div></h4></section><section id="tymethod.put" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#63">Source</a><h4 class="code-header">fn <a href="#tymethod.put" class="fn">put</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.PutRequest.html" title="struct common_meta::rpc::store::PutRequest">PutRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.PutResponse.html" title="struct common_meta::rpc::store::PutResponse">PutResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</div></h4></section><section id="tymethod.batch_put" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#65">Source</a><h4 class="code-header">fn <a href="#tymethod.batch_put" class="fn">batch_put</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.BatchPutRequest.html" title="struct common_meta::rpc::store::BatchPutRequest">BatchPutRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.BatchPutResponse.html" title="struct common_meta::rpc::store::BatchPutResponse">BatchPutResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</div></h4></section><section id="tymethod.batch_get" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#67">Source</a><h4 class="code-header">fn <a href="#tymethod.batch_get" class="fn">batch_get</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.BatchGetRequest.html" title="struct common_meta::rpc::store::BatchGetRequest">BatchGetRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.BatchGetResponse.html" title="struct common_meta::rpc::store::BatchGetResponse">BatchGetResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</div></h4></section><section id="tymethod.delete_range" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#69-72">Source</a><h4 class="code-header">fn <a href="#tymethod.delete_range" class="fn">delete_range</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.DeleteRangeRequest.html" title="struct common_meta::rpc::store::DeleteRangeRequest">DeleteRangeRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.DeleteRangeResponse.html" title="struct common_meta::rpc::store::DeleteRangeResponse">DeleteRangeResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</div></h4></section><section id="tymethod.batch_delete" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#74-77">Source</a><h4 class="code-header">fn <a href="#tymethod.batch_delete" class="fn">batch_delete</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.BatchDeleteRequest.html" title="struct common_meta::rpc::store::BatchDeleteRequest">BatchDeleteRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.BatchDeleteResponse.html" title="struct common_meta::rpc::store::BatchDeleteResponse">BatchDeleteResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: 'async_trait,
|
||
'life0: 'async_trait,</div></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.get" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#82-90">Source</a><h4 class="code-header">fn <a href="#method.get" class="fn">get</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="struct" href="../rpc/struct.KeyValue.html" title="struct common_meta::rpc::KeyValue">KeyValue</a>>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</div></h4></section><details class="toggle method-toggle" open><summary><section id="method.compare_and_put" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#94-117">Source</a><h4 class="code-header">fn <a href="#method.compare_and_put" class="fn">compare_and_put</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
req: <a class="struct" href="../rpc/store/struct.CompareAndPutRequest.html" title="struct common_meta::rpc::store::CompareAndPutRequest">CompareAndPutRequest</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="../rpc/store/struct.CompareAndPutResponse.html" title="struct common_meta::rpc::store::CompareAndPutResponse">CompareAndPutResponse</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait,</div></h4></section></summary><div class="docblock"><p>CAS: Compares the value at the key with the given value, and if they are
|
||
equal, puts the new value at the key.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.put_conditionally" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#123-143">Source</a><h4 class="code-header">fn <a href="#method.put_conditionally" class="fn">put_conditionally</a><'life0, 'async_trait>(
|
||
&'life0 self,
|
||
key: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,
|
||
value: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>>,
|
||
if_not_exists: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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.bool.html">bool</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait,</div></h4></section></summary><div class="docblock"><p>Puts a value at a key. If <code>if_not_exists</code> is <code>true</code>, the operation
|
||
ensures the key does not exist before applying the PUT operation.
|
||
Otherwise, it simply applies the PUT operation without checking for
|
||
the key’s existence.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.exists" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#147-151">Source</a><h4 class="code-header">fn <a href="#method.exists" class="fn">exists</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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.bool.html">bool</a>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</div></h4></section></summary><div class="docblock"><p>Check if the key exists, not returning the value.
|
||
If the value is large, this method is more efficient than <code>get</code>.</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.delete" class="method"><a class="src rightside" href="../../src/common_meta/kv_backend.rs.html#154-167">Source</a><h4 class="code-header">fn <a href="#method.delete" class="fn">delete</a><'life0, 'life1, 'async_trait>(
|
||
&'life0 self,
|
||
key: &'life1 [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>],
|
||
prev_kv: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/pin/struct.Pin.html" title="struct core::pin::Pin">Pin</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/future/future/trait.Future.html" title="trait core::future::future::Future">Future</a><Output = <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="struct" href="../rpc/struct.KeyValue.html" title="struct common_meta::rpc::KeyValue">KeyValue</a>>, Self::<a class="associatedtype" href="txn/trait.TxnService.html#associatedtype.Error" title="type common_meta::kv_backend::txn::TxnService::Error">Error</a>>> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'async_trait>><div class="where">where
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'async_trait,
|
||
'life0: 'async_trait,
|
||
'life1: 'async_trait,</div></h4></section></summary><div class="docblock"><p>Returns previous key-value pair if <code>prev_kv</code> is <code>true</code>.</p>
|
||
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><div class="negative-marker"></div><section id="impl-KvBackend-for-ChrootKvBackend" class="impl"><a class="src rightside" href="../../src/common_meta/kv_backend/chroot.rs.html#55-153">Source</a><a href="#impl-KvBackend-for-ChrootKvBackend" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.KvBackend.html" title="trait common_meta::kv_backend::KvBackend">KvBackend</a> for <a class="struct" href="chroot/struct.ChrootKvBackend.html" title="struct common_meta::kv_backend::chroot::ChrootKvBackend">ChrootKvBackend</a></h3></section><section id="impl-KvBackend-for-EtcdStore" class="impl"><a class="src rightside" href="../../src/common_meta/kv_backend/etcd.rs.html#116-266">Source</a><a href="#impl-KvBackend-for-EtcdStore" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.KvBackend.html" title="trait common_meta::kv_backend::KvBackend">KvBackend</a> for <a class="struct" href="etcd/struct.EtcdStore.html" title="struct common_meta::kv_backend::etcd::EtcdStore">EtcdStore</a></h3></section><section id="impl-KvBackend-for-ReadOnlyKvBackend" class="impl"><a class="src rightside" href="../../src/common_meta/kv_backend/read_only.rs.html#78-118">Source</a><a href="#impl-KvBackend-for-ReadOnlyKvBackend" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.KvBackend.html" title="trait common_meta::kv_backend::KvBackend">KvBackend</a> for <a class="struct" href="read_only/struct.ReadOnlyKvBackend.html" title="struct common_meta::kv_backend::read_only::ReadOnlyKvBackend">ReadOnlyKvBackend</a></h3></section><section id="impl-KvBackend-for-MockKvBackend" class="impl"><a class="src rightside" href="../../src/common_meta/kv_backend/test_util.rs.html#69-125">Source</a><a href="#impl-KvBackend-for-MockKvBackend" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.KvBackend.html" title="trait common_meta::kv_backend::KvBackend">KvBackend</a> for <a class="struct" href="test_util/struct.MockKvBackend.html" title="struct common_meta::kv_backend::test_util::MockKvBackend">MockKvBackend</a></h3></section><section id="impl-KvBackend-for-RdsStore%3CT,+S,+R%3E" class="impl"><a class="src rightside" href="../../src/common_meta/kv_backend/rds.rs.html#485-540">Source</a><a href="#impl-KvBackend-for-RdsStore%3CT,+S,+R%3E" class="anchor">§</a><h3 class="code-header">impl<T, S, R> <a class="trait" href="trait.KvBackend.html" title="trait common_meta::kv_backend::KvBackend">KvBackend</a> for <a class="struct" href="rds/struct.RdsStore.html" title="struct common_meta::kv_backend::rds::RdsStore">RdsStore</a><T, S, R><div class="where">where
|
||
R: 'static,
|
||
Self: <a class="trait" href="rds/trait.KvQueryExecutor.html" title="trait common_meta::kv_backend::rds::KvQueryExecutor">KvQueryExecutor</a><T> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
|
||
T: <a class="trait" href="rds/trait.Executor.html" title="trait common_meta::kv_backend::rds::Executor">Executor</a> + 'static,
|
||
S: <a class="trait" href="rds/trait.ExecutorFactory.html" title="trait common_meta::kv_backend::rds::ExecutorFactory">ExecutorFactory</a><T> + 'static,</div></h3></section><section id="impl-KvBackend-for-MemoryKvBackend%3CT%3E" class="impl"><a class="src rightside" href="../../src/common_meta/kv_backend/memory.rs.html#78-232">Source</a><a href="#impl-KvBackend-for-MemoryKvBackend%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: ErrorExt + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static> <a class="trait" href="trait.KvBackend.html" title="trait common_meta::kv_backend::KvBackend">KvBackend</a> for <a class="struct" href="memory/struct.MemoryKvBackend.html" title="struct common_meta::kv_backend::memory::MemoryKvBackend">MemoryKvBackend</a><T></h3></section></div><script src="../../trait.impl/common_meta/kv_backend/trait.KvBackend.js" async></script></section></div></main></body></html> |