kanidm/docs/master/rustdoc/kanidmd_lib/server/struct.QueryServerWriteTransaction.html

40 lines
114 KiB
HTML
Raw Normal View History

<!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 `QueryServerWriteTransaction` struct in crate `kanidmd_lib`."><meta name="keywords" content="rust, rustlang, rust-lang, QueryServerWriteTransaction"><title>QueryServerWriteTransaction in kanidmd_lib::server - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-6827029ac823cab7.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../../static.files/light-ebce58d0a40c3431.css"><link rel="stylesheet" disabled href="../../static.files/dark-f23faae4a2daf9a6.css"><link rel="stylesheet" disabled href="../../static.files/ayu-8af5e100b21cd173.css"><script id="default-settings" ></script><script src="../../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-c55e1eb52e1886b4.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../../kanidmd_lib/index.html"><div class="logo-container"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../../kanidmd_lib/index.html"><div class="logo-container"><img class="rust-logo" src="../../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2 class="location"><a href="#">QueryServerWriteTransaction</a></h2><div class="sidebar-elems"><section><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.batch_modify">batch_modify</a></li><li><a href="#method.commit">commit</a></li><li><a href="#method.consumer_apply_changes">consumer_apply_changes</a></li><li><a href="#method.consumer_apply_refresh">consumer_apply_refresh</a></li><li><a href="#method.create">create</a></li><li><a href="#method.delete">delete</a></li><li><a href="#method.domain_rename">domain_rename</a></li><li><a href="#method.get_changed_domain">get_changed_domain</a></li><li><a href="#method.get_changed_ouath2">get_changed_ouath2</a></li><li><a href="#method.get_changed_uuids">get_changed_uuids</a></li><li><a href="#method.impersonate_modify">impersonate_modify</a></li><li><a href="#method.impersonate_modify_gen_event">impersonate_modify_gen_event</a></li><li><a href="#method.impersonate_modify_valid">impersonate_modify_valid</a></li><li><a href="#method.initialise_idm">initialise_idm</a></li><li><a href="#method.initialise_schema_core">initialise_sc
modification operation en-mass to 1 -&gt; N entries. This takes a set of modifications
that define a precise entry to apply a change to and only modifies that.</p>
<p>modify is for all entries matching this condition, do this change.</p>
<p>batch_modify is for entry X apply mod A, for entry Y apply mod B etc. It allows you
to do per-entry mods.</p>
<p>The drawback is you need to know ahead of time what uuids you are affecting. This
has parallels to scim, so its not a significant issue.</p>
<p>Otherwise, we follow the same pattern here as modify, and inside the transform
the same modlists are used.</p>
</div></details><section id="method.internal_batch_modify" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/batch_modify.rs.html#235-251">source</a><h4 class="code-header">pub fn <a href="#method.internal_batch_modify" class="fn">internal_batch_modify</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;mods_iter: impl <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = (<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>, <a class="struct" href="../modify/struct.ModifyList.html" title="struct kanidmd_lib::modify::ModifyList">ModifyList</a>&lt;<a class="struct" href="../modify/struct.ModifyInvalid.html" title="struct kanidmd_lib::modify::ModifyInvalid">ModifyInvalid</a>&gt;)&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-QueryServerWriteTransaction%3C%27a%3E-2" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/create.rs.html#5-156">source</a><a href="#impl-QueryServerWriteTransaction%3C%27a%3E-2" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="struct" href="struct.QueryServerWriteTransaction.html" title="struct kanidmd_lib::server::QueryServerWriteTransaction">QueryServerWriteTransaction</a>&lt;'a&gt;</h3></section></summary><div class="impl-items"><section id="method.create" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/create.rs.html#6">source</a><h4 class="code-header">pub fn <a href="#method.create" class="fn">create</a>(&amp;mut self, ce: &amp;<a class="struct" href="../event/struct.CreateEvent.html" title="struct kanidmd_lib::event::CreateEvent">CreateEvent</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.internal_create" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/create.rs.html#149-155">source</a><h4 class="code-header">pub fn <a href="#method.internal_create" class="fn">internal_create</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;entries: <a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryInit.html" title="struct kanidmd_lib::entry::EntryInit">EntryInit</a>, <a class="struct" href="../entry/struct.EntryNew.html" title="struct kanidmd_lib::entry::EntryNew">EntryNew</a>&gt;&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-QueryServerWriteTransaction%3C%27a%3E-3" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/delete.rs.html#5-1
<p>This migration updates properties of oauth2 relying server properties. First, it changes
the former basic value to a secret utf8string.</p>
<p>The second change improves the current scope system to remove the implicit scope type.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.migrate_9_to_10" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/migrations.rs.html#268">source</a><h4 class="code-header">pub fn <a href="#method.migrate_9_to_10" class="fn">migrate_9_to_10</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class="docblock"><p>Migrate 9 to 10</p>
<p>This forces a load and rewrite of all credentials stored on all accounts so that they are
updated to new on-disk formats. This will allow us to purge some older on disk formats in
a future version.</p>
<p>An extended feature of this is the ability to store multiple TOTPs per entry.</p>
</div></details><section id="method.initialise_schema_core" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/migrations.rs.html#282">source</a><h4 class="code-header">pub fn <a href="#method.initialise_schema_core" class="fn">initialise_schema_core</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.initialise_schema_idm" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/migrations.rs.html#305">source</a><h4 class="code-header">pub fn <a href="#method.initialise_schema_idm" class="fn">initialise_schema_idm</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.initialise_idm" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/migrations.rs.html#386">source</a><h4 class="code-header">pub fn <a href="#method.initialise_idm" class="fn">initialise_idm</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-QueryServerWriteTransaction%3C%27a%3E-5" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/modify.rs.html#12-237">source</a><a href="#impl-QueryServerWriteTransaction%3C%27a%3E-5" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="struct" href="struct.QueryServerWriteTransaction.html" title="struct kanidmd_lib::server::QueryServerWriteTransaction">QueryServerWriteTransaction</a>&lt;'a&gt;</h3></section></summary><div class="impl-items"><section id="method.modify" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/modify.rs.html#13">source</a><h4 class="code-header">pub fn <a href="#method.modify" class="fn">modify</a>(&amp;mut self, me: &amp;<a class="struct" href="../event/struct.ModifyEvent.html" title="struct kanidmd_lib::event::ModifyEvent">ModifyEvent</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-QueryServerWriteTransaction%3C%27a%3E-6" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/modify.rs.html#239-456">source</a><a href="#impl-QueryServerWriteTransaction%3C%27a%3E-6" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="struct" href="struct.QueryServerWriteTransaction.html" title="struct kanidmd_lib::server::QueryServerWriteTransaction">QueryServerWriteTransaction</a>&lt;'a&gt;</h3></section></summary><div class="impl-items"><section id="method.internal_modify" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/modify.rs.html#
because its just a wibbly human-facing thing, not used for secure
activities (yet)</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.domain_rename" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#1337-1342">source</a><h4 class="code-header">pub fn <a href="#method.domain_rename" class="fn">domain_rename</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;new_domain_name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class="docblock"><p>Initiate a domain rename process. This is generally an internal function but its
exposed to the cli for admins to be able to initiate the process.</p>
</div></details><section id="method.reindex" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#1363-1368">source</a><h4 class="code-header">pub fn <a href="#method.reindex" class="fn">reindex</a>(&amp;mut self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.get_changed_uuids" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#1379-1381">source</a><h4 class="code-header">pub fn <a href="#method.get_changed_uuids" class="fn">get_changed_uuids</a>(&amp;self) -&gt; &amp;HashSet&lt;<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>&gt;</h4></section><section id="method.get_changed_ouath2" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#1383-1385">source</a><h4 class="code-header">pub fn <a href="#method.get_changed_ouath2" class="fn">get_changed_ouath2</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.get_changed_domain" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#1387-1389">source</a><h4 class="code-header">pub fn <a href="#method.get_changed_domain" class="fn">get_changed_domain</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a></h4></section><section id="method.commit" class="method has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#1395">source</a><h4 class="code-header">pub fn <a href="#method.commit" class="fn">commit</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.unit.html">()</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-QueryServerTransaction%3C%27a%3E-for-QueryServerWriteTransaction%3C%27a%3E" class="impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#879-930">source</a><a href="#impl-QueryServerTransaction%3C%27a%3E-for-QueryServerWriteTransaction%3C%27a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.QueryServerTransaction.html" title="trait kanidmd_lib::server::QueryServerTransaction">QueryServerTransaction</a>&lt;'a&gt; for <a class="struct" href="struct.QueryServerWriteTransaction.html" title="struct kanidmd_lib::server::QueryServerWriteTransaction">QueryServerWriteTransaction</a>&lt;'a&gt;</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_domain_name" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#923-925">source</a><a href="#method.get_domain_name" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#tymethod.get_domain_name" class="fn">get_domain_name</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a></h4></section></summary><div class="docblock"><p>Gets the in-memory domain_name element</p>
</div></details><section id="associatedtype.AccessControlsTransactionType" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.AccessControlsTransactionType" class="anchor">§</a><h4 class="code-header">type <a href="trait.QueryServerTransaction.html#associatedtype.AccessControlsTransactionType" class="associatedtype">AccessControlsTransactionType</a> = <a class="struct" href="access/struct.AccessControlsWriteTransaction.html" title="struct kanidmd_lib::server::access::AccessControlsWriteTransaction">AccessControlsWriteTransaction</a>&lt;'a&gt;</h4></section><section id="associatedtype.BackendTransactionType" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.BackendTransactionType" class="anchor">§</a><h4 class="code-header">type <a href="trait.QueryServerTransaction.html#associatedtype.BackendTransactionType" class="associatedtype">BackendTransactionType</a> = <a class="struct" href="../be/struct.BackendWriteTransaction.html" title="struct kanidmd_lib::be::BackendWriteTransaction">BackendWriteTransaction</a>&lt;'a&gt;</h4></section><section id="associatedtype.SchemaTransactionType" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.SchemaTransactionType" class="anchor">§</a><h4 class="code-header">type <a href="trait.QueryServerTransaction.html#associatedtype.SchemaTransactionType" class="associatedtype">SchemaTransactionType</a> = <a class="struct" href="../schema/struct.SchemaWriteTransaction.html" title="struct kanidmd_lib::schema::SchemaWriteTransaction">SchemaWriteTransaction</a>&lt;'a&gt;</h4></section><section id="method.get_be_txn" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#884-886">source</a><a href="#method.get_be_txn" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#tymethod.get_be_txn" class="fn">get_be_txn</a>(&amp;mut self) -&gt; &amp;mut <a class="struct" href="../be/struct.BackendWriteTransaction.html" title="struct kanidmd_lib::be::BackendWriteTransaction">BackendWriteTransaction</a>&lt;'a&gt;</h4></section><section id="method.get_schema" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#888-896">source</a><a href="#method.get_schema" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#tymethod.get_schema" class="fn">get_schema</a>&lt;'b&gt;(&amp;self) -&gt; &amp;'b <a class="struct" href="../schema/struct.SchemaWriteTransaction.html" title="struct kanidmd_lib::schema::SchemaWriteTransaction">SchemaWriteTransaction</a>&lt;'a&gt;</h4></section><section id="method.get_accesscontrols" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#898-900">source</a><a href="#method.get_accesscontrols" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#tymethod.get_accesscontrols" class="fn">get_accesscontrols</a>(&amp;self) -&gt; &amp;<a class="struct" href="access/struct.AccessControlsWriteTransaction.html" title="struct kanidmd_lib::server::access::AccessControlsWriteTransaction">AccessControlsWriteTransaction</a>&lt;'a&gt;</h4></section><section id="method.get_resolve_filter_cache" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#902-907">source</a><a href="#method.get_resolve_filter_cache" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#tymethod.get_resolve_filter_cache" class="fn">get_resolve_filter_cache</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self<br>) -&gt; &amp;mut ARCacheReadTxn&lt;'a, (<a class="enum" href="identity/enum.IdentityId.html" title="enum kanidmd_lib::server::identity::IdentityId">IdentityId</a>, <a class="struct" href="../filter/struct.Filter.html" title="struct kanidmd_lib::filter::Filter">Filter</a>&lt;<a class="struct" href="../filter/struct.FilterValid.html" title="struct kanidmd_lib::filter::FilterValid">Filt
have been reduced to the set of user visible avas. Note that if you provide
a <code>SearchEvent</code> for the internal user, this query will fail. It is invalid for
the <a href="../access/index.html"><code>access</code></a> module to attempt to reduce avas for internal searches, and you
should use <a href="trait.QueryServerTransaction.html#method.search"><code>fn search</code></a> instead. <a href="trait.QueryServerTransaction.html#method.search_ext">Read more</a></div></details><section id="method.search" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#191">source</a><a href="#method.search" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.search" class="fn">search</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;se: &amp;<a class="struct" href="../event/struct.SearchEvent.html" title="struct kanidmd_lib::event::SearchEvent">SearchEvent</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.exists" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#246">source</a><a href="#method.exists" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.exists" class="fn">exists</a>(&amp;mut self, ee: &amp;<a class="struct" href="../event/struct.ExistsEvent.html" title="struct kanidmd_lib::event::ExistsEvent">ExistsEvent</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.bool.html">bool</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.name_to_uuid" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#267-275">source</a><a href="#method.name_to_uuid" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.name_to_uuid" class="fn">name_to_uuid</a>(&amp;mut self, name: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.sync_external_id_to_uuid" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#278-287">source</a><a href="#method.sync_external_id_to_uuid" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.sync_external_id_to_uuid" class="fn">sync_external_id_to_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;external_id: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/1.67.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html"
server operations, especially in login and ACP checks. <a href="trait.QueryServerTransaction.html#method.internal_search_uuid">Read more</a></div></details><section id="method.impersonate_search_ext_uuid" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#408">source</a><a href="#method.impersonate_search_ext_uuid" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.impersonate_search_ext_uuid" class="fn">impersonate_search_ext_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../entry/struct.Entry.html" title="struct kanidmd_lib::entry::Entry">Entry</a>&lt;<a class="struct" href="../entry/struct.EntryReduced.html" title="struct kanidmd_lib::entry::EntryReduced">EntryReduced</a>, <a class="struct" href="../entry/struct.EntryCommitted.html" title="struct kanidmd_lib::entry::EntryCommitted">EntryCommitted</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.impersonate_search_uuid" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#424">source</a><a href="#method.impersonate_search_uuid" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.impersonate_search_uuid" class="fn">impersonate_search_uuid</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;uuid: <a class="struct" href="../prelude/struct.Uuid.html" title="struct kanidmd_lib::prelude::Uuid">Uuid</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;event: &amp;<a class="struct" href="identity/struct.Identity.html" title="struct kanidmd_lib::server::identity::Identity">Identity</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;<a class="type" href="../entry/type.EntrySealedCommitted.html" title="type kanidmd_lib::entry::EntrySealedCommitted">EntrySealedCommitted</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.clone_value" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#442-515">source</a><a href="#method.clone_value" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.clone_value" class="fn">clone_value</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;attr: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../value/enum.Value.html" title="enum kanidmd_lib::value::Value">Value</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section></summary><div class='docblock'>Do a schema aware conversion from a String:String to String:Value for modification
present. <a href="trait.QueryServerTransaction.html#method.clone_value">Read more</a></div></details><section id="method.clone_partialvalue" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#517-620">source</a><a href="#method.clone_partialvalue" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.clone_partialvalue" class="fn">clone_partialvalue</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;attr: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../value/enum.PartialValue.html" title="enum kanidmd_lib::value::PartialValue">PartialValue</a>, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.resolve_valueset" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#623-654">source</a><a href="#method.resolve_valueset" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.resolve_valueset" class="fn">resolve_valueset</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="type" href="../valueset/type.ValueSet.html" title="type kanidmd_lib::valueset::ValueSet">ValueSet</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><section id="method.resolve_valueset_ldap" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#656-681">source</a><a href="#method.resolve_valueset_ldap" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.resolve_valueset_ldap" class="fn">resolve_valueset_ldap</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self,<br>&nbsp;&nbsp;&nbsp;&nbsp;value: &amp;<a class="type" href="../valueset/type.ValueSet.html" title="type kanidmd_lib::valueset::ValueSet">ValueSet</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;basedn: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.str.html">str</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.67.1/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.67.1/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.u8.html">u8</a>&gt;&gt;, <a class="enum" href="../prelude/enum.OperationError.html" title="enum kanidmd_lib::prelude::OperationError">OperationError</a>&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.get_db_domain_name" class="method trait-impl has-srclink"><a class="srclink rightside" href="../../src/kanidmd_lib/server/mod.rs.html#684-696">source</a><a href="#method.get_db_domain_name" class="anchor">§</a><h4 class="code-header">fn <a href="trait.QueryServerTransaction.html#method.get_db_domain_name" class="fn">get_db_domain_name</a>(&amp;mut self) -&gt; <a class="enum" href="http
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Instrument-for-QueryServerWriteTransaction%3C%27a%3E" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#276">source</a><a href="#impl-Instrument-for-QueryServerWriteTransaction%3C%27a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html" title="trait tracing::instrument::Instrument">Instrument</a> for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#82">source</a><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument" class="fn">instrument</a>(self, span: <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="struct tracing::span::Span">Span</a>) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the provided <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html" title="Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.instrument">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#121">source</a><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span" class="fn">in_current_span</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.Instrumented.html" title="struct tracing::instrument::Instrumented">Instrumented</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html#method.current">current</a> <a href="https://docs.rs/tracing/0.1.37/tracing/span/struct.Span.html"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.Instrument.html#method.in_current_span">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-QueryServerWriteTransaction%3C%27a%3E" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#717">source</a><a href="#impl-Into%3CU%3E-for-QueryServerWriteTransaction%3C%27a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/1.67.1/src/core/convert/mod.rs.html#725">source</a></span><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.67.1/core/convert/trait.From.html" title="From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Pointable-for-QueryServerWriteTransaction%3C%27a%3E" class="impl has-srclink"><a href="#impl-Pointable-for-QueryServerWriteTransaction%3C%27a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Pointable for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl has-srclink"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a> = mem::align_of::&lt;T&gt;()</h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="rustdoc-toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.init" class="method trait-impl has-srclink"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: &lt;T as Pointable&gt;::Init) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl has-srclink"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;'a </a>T</h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl has-srclink"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.reference.html">&amp;'a mut </a>T</h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl has-srclink"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.67.1/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Same%3CT%3E-for-QueryServerWriteTransaction%3C%27a%3E" class="impl has-srclink"><a class="srclink rightside" href="https://docs.rs/typenum/1.16.0/src/typenum/type_operators.rs.html#34">source</a><a href="#impl-Same%3CT%3E-for-QueryServerWriteTransaction%3C%27a%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/typenum/1.16.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl has-srclink"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header"
<a href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_subscriber">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://docs.rs/tracing/0.1.37/src/tracing/instrument.rs.html#221">source</a><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber" class="fn">with_current_subscriber</a>(self) -&gt; <a class="struct" href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="struct tracing::instrument::WithDispatch">WithDispatch</a>&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="https://docs.rs/tracing/0.1.37/tracing/dispatcher/index.html#setting-the-default-subscriber">default</a> <a href="https://docs.rs/tracing-core/0.1.22/tracing_core/subscriber/trait.Subscriber.html"><code>Subscriber</code></a> to this type, returning a
<a href="https://docs.rs/tracing/0.1.37/tracing/instrument/struct.WithDispatch.html" title="WithDispatch"><code>WithDispatch</code></a> wrapper. <a href="https://docs.rs/tracing/0.1.37/tracing/instrument/trait.WithSubscriber.html#method.with_current_subscriber">Read more</a></div></details></div></details></div></section></div></main><div id="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="kanidmd_lib" data-themes="" data-resource-suffix="" data-rustdoc-version="1.67.1 (d5a82bbd2 2023-02-07)" data-search-js="search-444266647c4dba98.js" data-settings-js="settings-bebeae96e00e4617.js" data-settings-css="settings-af96d9e2fc13e081.css" ></div></body></html>