2023-03-10 00:19:42 +01:00
<!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 `BackendTransaction` trait in crate `kanidmd_lib`." > < meta name = "keywords" content = "rust, rustlang, rust-lang, BackendTransaction" > < title > BackendTransaction in kanidmd_lib::be - 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-93196c7a1c3542a8.css" id = "mainThemeStyle" > < link rel = "stylesheet" id = "themeStyle" href = "../../static.files/light-4743e13df3dfe8c4.css" > < link rel = "stylesheet" disabled href = "../../static.files/dark-0e1b889528bd466b.css" > < link rel = "stylesheet" disabled href = "../../static.files/ayu-65289d5d067c7c66.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-3367e395607fafc1.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 trait" > <!-- [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" > ☰ < / button > < a class = "logo-container" href = "../../kanidmd_lib/index.html" > < img class = "rust-logo" src = "../../static.files/rust-logo-151179464ae7ed46.svg" alt = "logo" > < / a > < h2 > < / h2 > < / nav > < nav class = "sidebar" > < a class = "logo-container" href = "../../kanidmd_lib/index.html" > < img class = "rust-logo" src = "../../static.files/rust-logo-151179464ae7ed46.svg" alt = "logo" > < / a > < h2 class = "location" > < a href = "#" > BackendTransaction< / a > < / h2 > < div class = "sidebar-elems" > < section > < h3 > < a href = "#required-associated-types" > Required Associated Types< / a > < / h3 > < ul class = "block" > < li > < a href = "#associatedtype.IdlLayerType" > IdlLayerType< / a > < / li > < li > < a href = "#associatedtype.RuvType" > RuvType< / a > < / li > < / ul > < h3 > < a href = "#required-methods" > Required Methods< / a > < / h3 > < ul class = "block" > < li > < a href = "#tymethod.get_idlayer" > get_idlayer< / a > < / li > < li > < a href = "#tymethod.get_idxmeta_ref" > get_idxmeta_ref< / a > < / li > < li > < a href = "#tymethod.get_ruv" > get_ruv< / a > < / li > < / ul > < h3 > < a href = "#provided-methods" > Provided Methods< / a > < / h3 > < ul class = "block" > < li > < a href = "#method.backup" > backup< / a > < / li > < li > < a href = "#method.exists" > exists< / a > < / li > < li > < a href = "#method.externalid2uuid" > externalid2uuid< / a > < / li > < li > < a href = "#method.filter2idl" > filter2idl< / a > < / li > < li > < a href = "#method.name2uuid" > name2uuid< / a > < / li > < li > < a href = "#method.search" > search< / a > < / li > < li > < a href = "#method.uuid2rdn" > uuid2rdn< / a > < / li > < li > < a href = "#method.uuid2spn" > uuid2spn< / a > < / li > < li > < a href = "#method.verify" > verify< / a > < / li > < li > < a href = "#method.verify_entry_index" > verify_entry_index< / a > < / li > < li > < a href = "#method.verify_indexes" > verify_indexes< / a > < / li > < li > < a href = "#method.v
2022-10-07 11:23:12 +02:00
type < a href = "#associatedtype.IdlLayerType" class = "associatedtype" > IdlLayerType< / a > : IdlArcSqliteTransaction;
type < a href = "#associatedtype.RuvType" class = "associatedtype" > RuvType< / a > : ReplicationUpdateVectorTransaction;
2023-03-10 00:19:42 +01:00
< details class = "toggle type-contents-toggle" > < summary class = "hideme" > < span > Show 15 methods< / span > < / summary > fn < a href = "#tymethod.get_idlayer" class = "fn" > get_idlayer< / a > (& mut self) -> & mut Self::< a class = "associatedtype" href = "trait.BackendTransaction.html#associatedtype.IdlLayerType" title = "type kanidmd_lib::be::BackendTransaction::IdlLayerType" > IdlLayerType< / a > ;
2023-01-28 05:14:00 +01:00
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.get_ruv" class = "fn" > get_ruv< / a > (& mut self) -> & mut Self::< a class = "associatedtype" href = "trait.BackendTransaction.html#associatedtype.RuvType" title = "type kanidmd_lib::be::BackendTransaction::RuvType" > RuvType< / a > ;
< span class = "item-spacer" > < / span > fn < a href = "#tymethod.get_idxmeta_ref" class = "fn" > get_idxmeta_ref< / a > (& self) -> & < a class = "struct" href = "struct.IdxMeta.html" title = "struct kanidmd_lib::be::IdxMeta" > IdxMeta< / a > ;
2022-10-07 11:23:12 +02:00
2023-03-28 15:58:10 +02:00
fn < a href = "#method.filter2idl" class = "fn" > filter2idl< / a > (< br > & mut self,< br > filt: & < a class = "enum" href = "../filter/enum.FilterResolved.html" title = "enum kanidmd_lib::filter::FilterResolved" > FilterResolved< / a > ,< br > thres: < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.usize.html" > usize< / a > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < (< a class = "enum" href = "enum.IdList.html" title = "enum kanidmd_lib::be::IdList" > IdList< / a > , < a class = "enum" href = "../filter/enum.FilterPlan.html" title = "enum kanidmd_lib::filter::FilterPlan" > FilterPlan< / a > ), < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.search" class = "fn" > search< / a > (< br > & mut self,< br > erl: & < a class = "struct" href = "struct.Limits.html" title = "struct kanidmd_lib::be::Limits" > Limits< / a > ,< br > filt: & < a class = "struct" href = "../filter/struct.Filter.html" title = "struct kanidmd_lib::filter::Filter" > Filter< / a > < < a class = "struct" href = "../filter/struct.FilterValidResolved.html" title = "struct kanidmd_lib::filter::FilterValidResolved" > FilterValidResolved< / a > > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/sync/struct.Arc.html" title = "struct alloc::sync::Arc" > Arc< / a > < < a class = "type" href = "../entry/type.EntrySealedCommitted.html" title = "type kanidmd_lib::entry::EntrySealedCommitted" > EntrySealedCommitted< / a > > > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.exists" class = "fn" > exists< / a > (< br > & mut self,< br > erl: & < a class = "struct" href = "struct.Limits.html" title = "struct kanidmd_lib::be::Limits" > Limits< / a > ,< br > filt: & < a class = "struct" href = "../filter/struct.Filter.html" title = "struct kanidmd_lib::filter::Filter" > Filter< / a > < < a class = "struct" href = "../filter/struct.FilterValidResolved.html" title = "struct kanidmd_lib::filter::FilterValidResolved" > FilterValidResolved< / a > > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.bool.html" > bool< / a > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.verify" class = "fn" > verify< / a > (& mut self) -> < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.ConsistencyError.html" title = "enum kanidmd_lib::prelude::ConsistencyError" > ConsistencyError< / a > > > < a href = "#" class = "notable-traits" data-ty = "Vec<Result<(), ConsistencyError>>" > ⓘ< / a > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.verify_entry_index" class = "fn" > verify_entry_index< / a > (< br > & mut self,< br > e: & < a class = "struct" href = "../entry/struct.Entry.html" title = "struct kanidmd_lib::entry::Entry" > Entry< / a > < < a class = "struct" href = "../entry/struct.EntrySealed.html" title = "struct kanidmd_lib::entry::EntrySealed" > EntrySealed< / a > , < a class = "struct" href = "../entry/struct.EntryCommitted.html" title = "struct kanidmd_lib::entry::EntryCommitted" > EntryCommitted< / a > > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.ConsistencyError.html" title = "enum kanidmd_lib::prelude::ConsistencyError" > ConsistencyError< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.verify_indexes" class = "fn" > verify_indexes< / a > (& mut self) -> < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.ConsistencyError.html" title = "enum kanidmd_lib::prelude::ConsistencyError" > ConsistencyError< / a > > > < a href = "#" class = "notable-traits" data-ty = "Vec<Result<(), ConsistencyError>>" > ⓘ< / a > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.verify_ruv" class = "fn" > verify_ruv< / a > (& mut self, results: & mut < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.ConsistencyError.html" title = "enum kanidmd_lib::prelude::ConsistencyError" > ConsistencyError< / a > > > ) { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.backup" class = "fn" > backup< / a > (& mut self, dst_path: & < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.str.html" > str< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.name2uuid" class = "fn" > name2uuid< / a > (& mut self, name: & < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.str.html" > str< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < 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 > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.externalid2uuid" class = "fn" > externalid2uuid< / a > (< br > & mut self,< br > name: & < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.str.html" > str< / a > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < 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 > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.uuid2spn" class = "fn" > uuid2spn< / a > (& mut self, uuid: < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < 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 > > { ... }
< span class = "item-spacer" > < / span > fn < a href = "#method.uuid2rdn" class = "fn" > uuid2rdn< / a > (& mut self, uuid: < a class = "struct" href = "../prelude/struct.Uuid.html" title = "struct kanidmd_lib::prelude::Uuid" > Uuid< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > { ... }
< / details > }< / code > < / pre > < / div > < h2 id = "required-associated-types" class = "small-section-header" > Required Associated Types< a href = "#required-associated-types" class = "anchor" > §< / a > < / h2 > < div class = "methods" > < section id = "associatedtype.IdlLayerType" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#195" > source< / a > < h4 class = "code-header" > type < a href = "#associatedtype.IdlLayerType" class = "associatedtype" > IdlLayerType< / a > : IdlArcSqliteTransaction< / h4 > < / section > < section id = "associatedtype.RuvType" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#198" > source< / a > < h4 class = "code-header" > type < a href = "#associatedtype.RuvType" class = "associatedtype" > RuvType< / a > : ReplicationUpdateVectorTransaction< / h4 > < / section > < / div > < h2 id = "required-methods" class = "small-section-header" > Required Methods< a href = "#required-methods" class = "anchor" > §< / a > < / h2 > < div class = "methods" > < section id = "tymethod.get_idlayer" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#196" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.get_idlayer" class = "fn" > get_idlayer< / a > (& mut self) -> & mut Self::< a class = "associatedtype" href = "trait.BackendTransaction.html#associatedtype.IdlLayerType" title = "type kanidmd_lib::be::BackendTransaction::IdlLayerType" > IdlLayerType< / a > < / h4 > < / section > < section id = "tymethod.get_ruv" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#199" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.get_ruv" class = "fn" > get_ruv< / a > (& mut self) -> & mut Self::< a class = "associatedtype" href = "trait.BackendTransaction.html#associatedtype.RuvType" title = "type kanidmd_lib::be::BackendTransaction::RuvType" > RuvType< / a > < / h4 > < / section > < section id = "tymethod.get_idxmeta_ref" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#201" > source< / a > < h4 class = "code-header" > fn < a href = "#tymethod.get_idxmeta_ref" class = "fn" > get_idxmeta_ref< / a > (& self) -> & < a class = "struct" href = "struct.IdxMeta.html" title = "struct kanidmd_lib::be::IdxMeta" > IdxMeta< / a > < / h4 > < / section > < / div > < h2 id = "provided-methods" class = "small-section-header" > Provided Methods< a href = "#provided-methods" class = "anchor" > §< / a > < / h2 > < div class = "methods" > < details class = "toggle method-toggle" open > < summary > < section id = "method.filter2idl" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#206" > source< / a > < h4 class = "code-header" > fn < a href = "#method.filter2idl" class = "fn" > filter2idl< / a > (< br > & mut self,< br > filt: & < a class = "enum" href = "../filter/enum.FilterResolved.html" title = "enum kanidmd_lib::filter::FilterResolved" > FilterResolved< / a > ,< br > thres: < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.usize.html" > usize< / a > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < (< a class = "enum" href = "enum.IdList.html" title = "enum kanidmd_lib::be::IdList" > IdList< / a > , < a class = "enum" href = "../filter/enum.FilterPlan.html" title = "enum kanidmd_lib::filter::FilterPlan" > FilterPlan< / a > ), < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > < / h4 > < / section > < / summary > < div class = "docblock" > < p > Recursively apply a filter, transforming into IdList’ s on the way. This builds a query
2022-10-07 11:23:12 +02:00
execution log, so that it can be examined how an operation proceeded.< / p >
2023-03-28 15:58:10 +02:00
< / div > < / details > < section id = "method.search" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#566" > source< / a > < h4 class = "code-header" > fn < a href = "#method.search" class = "fn" > search< / a > (< br > & mut self,< br > erl: & < a class = "struct" href = "struct.Limits.html" title = "struct kanidmd_lib::be::Limits" > Limits< / a > ,< br > filt: & < a class = "struct" href = "../filter/struct.Filter.html" title = "struct kanidmd_lib::filter::Filter" > Filter< / a > < < a class = "struct" href = "../filter/struct.FilterValidResolved.html" title = "struct kanidmd_lib::filter::FilterValidResolved" > FilterValidResolved< / a > > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/sync/struct.Arc.html" title = "struct alloc::sync::Arc" > Arc< / a > < < a class = "type" href = "../entry/type.EntrySealedCommitted.html" title = "type kanidmd_lib::entry::EntrySealedCommitted" > EntrySealedCommitted< / a > > > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > < / h4 > < / section > < details class = "toggle method-toggle" open > < summary > < section id = "method.exists" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#661" > source< / a > < h4 class = "code-header" > fn < a href = "#method.exists" class = "fn" > exists< / a > (< br > & mut self,< br > erl: & < a class = "struct" href = "struct.Limits.html" title = "struct kanidmd_lib::be::Limits" > Limits< / a > ,< br > filt: & < a class = "struct" href = "../filter/struct.Filter.html" title = "struct kanidmd_lib::filter::Filter" > Filter< / a > < < a class = "struct" href = "../filter/struct.FilterValidResolved.html" title = "struct kanidmd_lib::filter::FilterValidResolved" > FilterValidResolved< / a > > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.bool.html" > bool< / a > , < a class = "enum" href = "../prelude/enum.OperationError.html" title = "enum kanidmd_lib::prelude::OperationError" > OperationError< / a > > < / h4 > < / section > < / summary > < div class = "docblock" > < p > Given a filter, assert some condition exists.
2022-10-07 11:23:12 +02:00
Basically, this is a specialised case of search, where we don’ t need to
load any candidates if they match. This is heavily used in uuid
refint and attr uniqueness.< / p >
2023-03-28 15:58:10 +02:00
< / div > < / details > < section id = "method.verify" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#722-724" > source< / a > < h4 class = "code-header" > fn < a href = "#method.verify" class = "fn" > verify< / a > (& mut self) -> < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.ConsistencyError.html" title = "enum kanidmd_lib::prelude::ConsistencyError" > ConsistencyError< / a > > > < a href = "#" class = "notable-traits" data-ty = "Vec<Result<(), ConsistencyError>>" > ⓘ< / a > < / h4 > < / section > < section id = "method.verify_entry_index" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#726-798" > source< / a > < h4 class = "code-header" > fn < a href = "#method.verify_entry_index" class = "fn" > verify_entry_index< / a > (< br > & mut self,< br > e: & < a class = "struct" href = "../entry/struct.Entry.html" title = "struct kanidmd_lib::entry::Entry" > Entry< / a > < < a class = "struct" href = "../entry/struct.EntrySealed.html" title = "struct kanidmd_lib::entry::EntrySealed" > EntrySealed< / a > , < a class = "struct" href = "../entry/struct.EntryCommitted.html" title = "struct kanidmd_lib::entry::EntryCommitted" > EntryCommitted< / a > > < br > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.ConsistencyError.html" title = "enum kanidmd_lib::prelude::ConsistencyError" > ConsistencyError< / a > > < / h4 > < / section > < section id = "method.verify_indexes" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#800-817" > source< / a > < h4 class = "code-header" > fn < a href = "#method.verify_indexes" class = "fn" > verify_indexes< / a > (& mut self) -> < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.ConsistencyError.html" title = "enum kanidmd_lib::prelude::ConsistencyError" > ConsistencyError< / a > > > < a href = "#" class = "notable-traits" data-ty = "Vec<Result<(), ConsistencyError>>" > ⓘ< / a > < / h4 > < / section > < section id = "method.verify_ruv" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#819-832" > source< / a > < h4 class = "code-header" > fn < a href = "#method.verify_ruv" class = "fn" > verify_ruv< / a > (& mut self, results: & mut < a class = "struct" href = "https://doc.rust-lang.org/1.68.2/alloc/vec/struct.Vec.html" title = "struct alloc::vec::Vec" > Vec< / a > < < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.unit.html" > ()< / a > , < a class = "enum" href = "../prelude/enum.ConsistencyError.html" title = "enum kanidmd_lib::prelude::ConsistencyError" > ConsistencyError< / a > > > )< / h4 > < / section > < section id = "method.backup" class = "method has-srclink" > < a class = "srclink rightside" href = "../../src/kanidmd_lib/be/mod.rs.html#834-879" > source< / a > < h4 class = "code-header" > fn < a href = "#method.backup" class = "fn" > backup< / a > (& mut self, dst_path: & < a class = "primitive" href = "https://doc.rust-lang.org/1.68.2/std/primitive.str.html" > str< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.68.2/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < < a class = "primitiv