Enum kanidm::be::FsType [−][src]
#[repr(u32)] +FsType in kanidm::be - Rust Enum kanidm::
be:: [−][src]FsType #[repr(u32)] pub enum FsType { Generic, Zfs, -}Variants
Implementations
Trait Implementations
Returns a copy of the value. Read more
+}Variants
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FsType
impl UnwindSafe for FsType
Blanket Implementations
Auto Trait Implementations
impl RefUnwindSafe for FsType
impl UnwindSafe for FsType
Blanket Implementations
Mutably borrows from an owned value. Read more
Performs the conversion.
diff --git a/docs/rustdoc/kanidm/be/index.html b/docs/rustdoc/kanidm/be/index.html index 381c17218..606f5f0d7 100644 --- a/docs/rustdoc/kanidm/be/index.html +++ b/docs/rustdoc/kanidm/be/index.html @@ -1,4 +1,4 @@ -kanidm::be - Rust Module kanidm::
be [−][src]Expand description
The backend. This contains the “low level” storage and query code, which is +
kanidm::be - Rust Module kanidm::
be [−][src]Expand description
The backend. This contains the “low level” storage and query code, which is implemented as a json-like kv document database. This has no rules about content of the server, which are all enforced at higher levels. The role of the backend is to persist content safely to disk, load that content, and execute queries diff --git a/docs/rustdoc/kanidm/be/struct.BackendReadTransaction.html b/docs/rustdoc/kanidm/be/struct.BackendReadTransaction.html index 3000d8ba8..c854d0d9d 100644 --- a/docs/rustdoc/kanidm/be/struct.BackendReadTransaction.html +++ b/docs/rustdoc/kanidm/be/struct.BackendReadTransaction.html @@ -1,6 +1,6 @@
BackendReadTransaction in kanidm::be - Rust Struct kanidm::
be:: [−][src]BackendReadTransaction pub struct BackendReadTransaction<'a> { /* fields omitted */ }Implementations
pub fn list_index_content(
&self,
index_name: &str
) -> Result<Vec<(String, IDLBitRange)>, OperationError>Trait Implementations
type IdlLayerType = IdlArcSqliteReadTransaction<'a>
fn filter2idl(
&self,
au: &mut AuditScope,
filt: &FilterResolved,
thres: usize
) -> Result<(IdList, FilterPlan), OperationError>Recursively apply a filter, transforming into IdList’s on the way. This builds a query execution log, so that it can be examined how an operation proceeded. Read more
-fn search(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<Vec<Entry<EntrySealed, EntryCommitted>>, OperationError>
fn exists(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<bool, OperationError>Given a filter, assert some condition exists. +
fn search(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<Vec<Arc<EntrySealedCommitted>>, OperationError>
fn exists(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<bool, OperationError>Given a filter, assert some condition exists. 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. Read more
diff --git a/docs/rustdoc/kanidm/be/struct.BackendWriteTransaction.html b/docs/rustdoc/kanidm/be/struct.BackendWriteTransaction.html index 4571a24c3..540bd2e61 100644 --- a/docs/rustdoc/kanidm/be/struct.BackendWriteTransaction.html +++ b/docs/rustdoc/kanidm/be/struct.BackendWriteTransaction.html @@ -1,6 +1,6 @@ -BackendWriteTransaction in kanidm::be - Rust Struct kanidm::
be:: [−][src]BackendWriteTransaction pub struct BackendWriteTransaction<'a> { /* fields omitted */ }Implementations
pub fn create(
&self,
au: &mut AuditScope,
entries: Vec<Entry<EntrySealed, EntryNew>>
) -> Result<Vec<Entry<EntrySealed, EntryCommitted>>, OperationError>pub fn modify(
&self,
au: &mut AuditScope,
pre_entries: &[Entry<EntrySealed, EntryCommitted>],
post_entries: &[Entry<EntrySealed, EntryCommitted>]
) -> Result<(), OperationError>pub fn delete(
&self,
au: &mut AuditScope,
entries: &[Entry<EntrySealed, EntryCommitted>]
) -> Result<(), OperationError>pub fn update_idxmeta(
&mut self,
audit: &mut AuditScope,
idxkeys: Vec<IdxKey>
) -> Result<(), OperationError>Trait Implementations
type IdlLayerType = IdlArcSqliteWriteTransaction<'a>
fn filter2idl(
&self,
au: &mut AuditScope,
filt: &FilterResolved,
thres: usize
) -> Result<(IdList, FilterPlan), OperationError>Recursively apply a filter, transforming into IdList’s on the way. This builds a query +
BackendWriteTransaction in kanidm::be - Rust Struct kanidm::
be:: [−][src]BackendWriteTransaction pub struct BackendWriteTransaction<'a> { /* fields omitted */ }Implementations
pub fn create(
&self,
au: &mut AuditScope,
entries: Vec<Entry<EntrySealed, EntryNew>>
) -> Result<Vec<Entry<EntrySealed, EntryCommitted>>, OperationError>pub fn modify(
&self,
au: &mut AuditScope,
pre_entries: &[Arc<EntrySealedCommitted>],
post_entries: &[Entry<EntrySealed, EntryCommitted>]
) -> Result<(), OperationError>pub fn delete(
&self,
au: &mut AuditScope,
entries: &[Arc<EntrySealedCommitted>]
) -> Result<(), OperationError>pub fn update_idxmeta(
&mut self,
audit: &mut AuditScope,
idxkeys: Vec<IdxKey>
) -> Result<(), OperationError>Trait Implementations
type IdlLayerType = IdlArcSqliteWriteTransaction<'a>
fn filter2idl(
&self,
au: &mut AuditScope,
filt: &FilterResolved,
thres: usize
) -> Result<(IdList, FilterPlan), OperationError>Recursively apply a filter, transforming into IdList’s on the way. This builds a query execution log, so that it can be examined how an operation proceeded. Read more
-fn search(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<Vec<Entry<EntrySealed, EntryCommitted>>, OperationError>
fn exists(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<bool, OperationError>Given a filter, assert some condition exists. +
fn search(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<Vec<Arc<EntrySealedCommitted>>, OperationError>
fn exists(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<bool, OperationError>Given a filter, assert some condition exists. 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. Read more
diff --git a/docs/rustdoc/kanidm/be/trait.BackendTransaction.html b/docs/rustdoc/kanidm/be/trait.BackendTransaction.html index b62441bf9..d388ba8b8 100644 --- a/docs/rustdoc/kanidm/be/trait.BackendTransaction.html +++ b/docs/rustdoc/kanidm/be/trait.BackendTransaction.html @@ -4,7 +4,7 @@ fn get_idxmeta_ref(&self) -> &IdxMeta; fn filter2idl(
&self,
au: &mut AuditScope,
filt: &FilterResolved,
thres: usize
) -> Result<(IdList, FilterPlan), OperationError> { ... } - fn search(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<Vec<Entry<EntrySealed, EntryCommitted>>, OperationError> { ... } + fn search(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<Vec<Arc<EntrySealedCommitted>>, OperationError> { ... } fn exists(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<bool, OperationError> { ... } fn verify(&self) -> Vec<Result<(), ConsistencyError>> { ... } fn verify_entry_index(
&self,
audit: &mut AuditScope,
e: &Entry<EntrySealed, EntryCommitted>
) -> Result<(), ConsistencyError> { ... } @@ -15,7 +15,7 @@ fn uuid2rdn(&self, uuid: &Uuid) -> Result<Option<String>, OperationError> { ... } }Associated Types
type IdlLayerType: IdlArcSqliteTransaction
Required methods
fn get_idlayer(&self) -> &mut Self::IdlLayerType
fn get_idxmeta_ref(&self) -> &IdxMeta
Provided methods
fn filter2idl(
&self,
au: &mut AuditScope,
filt: &FilterResolved,
thres: usize
) -> Result<(IdList, FilterPlan), OperationError>Recursively apply a filter, transforming into IdList’s on the way. This builds a query execution log, so that it can be examined how an operation proceeded.
-fn search(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<Vec<Entry<EntrySealed, EntryCommitted>>, OperationError>
fn exists(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<bool, OperationError>Given a filter, assert some condition exists. +
fn search(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<Vec<Arc<EntrySealedCommitted>>, OperationError>
fn exists(
&self,
au: &mut AuditScope,
erl: &Limits,
filt: &Filter<FilterValidResolved>
) -> Result<bool, OperationError>Given a filter, assert some condition exists. 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.
diff --git a/docs/rustdoc/kanidm/entry/struct.Entry.html b/docs/rustdoc/kanidm/entry/struct.Entry.html index 94020b20e..b110f97be 100644 --- a/docs/rustdoc/kanidm/entry/struct.Entry.html +++ b/docs/rustdoc/kanidm/entry/struct.Entry.html @@ -1,4 +1,4 @@ -Entry in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]Entry pub struct Entry<VALID, STATE> { /* fields omitted */ }Expand description
Entry is the core data storage type of the server. Almost every aspect of the server is +
Entry in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]Entry pub struct Entry<VALID, STATE> { /* fields omitted */ }Expand description
Entry is the core data storage type of the server. Almost every aspect of the server is designed to read, handle and manipulate entries.
Entries store attribute value assertions, or AVA. These are sets of key-values.
Entries have a lifecycle within a single operation, and as part of replication. @@ -16,31 +16,31 @@ from the database is
EntryCommitted
. This affects the operations yo or delete.These types exist to prevent at compile time, mishandling of Entries, to ensure they are always handled with the correct lifecycles and processes.
-Implementations
pub fn from_proto_entry(
audit: &mut AuditScope,
e: &ProtoEntry,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>Consume a Protocol Entry from JSON, and validate and process the data into an internal +
Implementations
pub fn from_proto_entry(
audit: &mut AuditScope,
e: &ProtoEntry,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>Consume a Protocol Entry from JSON, and validate and process the data into an internal
-Entry
type.
pub fn from_proto_entry_str(
audit: &mut AuditScope,
es: &str,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>Given a proto entry in JSON formed as a serialised string, processed that string +
pub fn from_proto_entry_str(
audit: &mut AuditScope,
es: &str,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>Given a proto entry in JSON formed as a serialised string, processed that string into an Entry.
-Assign the Change Identifier to this Entry, allowing it to be modified and then +
Assign the Change Identifier to this Entry, allowing it to be modified and then written to the
-Backend
Compare this entry to another.
-Add an attribute-value-assertion to this Entry.
-Replace the existing content of an attribute set of this Entry, with a new set of Values.
-
pub fn validate(
self,
schema: &dyn SchemaTransaction
) -> Result<Entry<EntryValid, STATE>, SchemaError>Validate that this entry and it’s attribute-value sets are conformant to the systems +
Compare this entry to another.
+Add an attribute-value-assertion to this Entry.
+Replace the existing content of an attribute set of this Entry, with a new set of Values.
+
pub fn validate(
self,
schema: &dyn SchemaTransaction
) -> Result<Entry<EntryValid, STATE>, SchemaError>Validate that this entry and it’s attribute-value sets are conformant to the systems schema and the releant syntaxes.
-Convert this entry into a recycled entry, that is “in the recycle bin”.
-Given this validated and sealed entry, process it with a
Backend
ID number so that it +Convert this entry into a recycled entry, that is “in the recycle bin”.
+Given this validated and sealed entry, process it with a
-Backend
ID number so that it can be then serialised to the database.Insert a claim to this entry. This claim can NOT be persisted to disk, this is only +
Insert a claim to this entry. This claim can NOT be persisted to disk, this is only used during a single Event session.
-Serialise this entry to it’s Database format ready for storage.
-Safety
+Serialise this entry to it’s Database format ready for storage.
+Safety
This function bypasses the access control validation logic and should NOT be used without special care and attention to ensure that no private data is leaked incorrectly to clients. Generally this is ONLY used inside of the access control processing functions which correctly applies the reduction steps.
-
pub fn reduce_attributes(
self,
allowed_attrs: &BTreeSet<&str>
) -> Entry<EntryReduced, EntryCommitted>Given a set of attributes that are allowed to be seen on this entry, process and remove +
pub fn reduce_attributes(
&self,
allowed_attrs: &BTreeSet<&str>
) -> Entry<EntryReduced, EntryCommitted>Given a set of attributes that are allowed to be seen on this entry, process and remove all other values that are NOT allowed in this query.
Convert this recycled entry, into a tombstone ready for reaping.
Given a current transaction change identifier, mark this entry as valid and committed.
@@ -82,12 +82,12 @@ cloned “as is”.Remove all values of this attribute from the entry, and return their content.
Replace the content of this attribute with a new value set.
Apply the content of this modlist to this entry, enforcing the expressed state.
-Trait Implementations
Trait Implementations
This method tests for
self
andother
values to be equal, and is used by==
. Read moreThis method tests for
diff --git a/docs/rustdoc/kanidm/entry/struct.EntryCommitted.html b/docs/rustdoc/kanidm/entry/struct.EntryCommitted.html index 1ced29a19..a19cc0301 100644 --- a/docs/rustdoc/kanidm/entry/struct.EntryCommitted.html +++ b/docs/rustdoc/kanidm/entry/struct.EntryCommitted.html @@ -1,6 +1,6 @@ -!=
.EntryCommitted in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryCommitted pub struct EntryCommitted { /* fields omitted */ }Trait Implementations
Returns a copy of the value. Read more
+EntryCommitted in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryCommitted pub struct EntryCommitted { /* fields omitted */ }Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntryCommitted
impl Send for EntryCommitted
impl Sync for EntryCommitted
impl Unpin for EntryCommitted
impl UnwindSafe for EntryCommitted
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/entry/struct.EntryInit.html b/docs/rustdoc/kanidm/entry/struct.EntryInit.html index ff223380d..cbc11963d 100644 --- a/docs/rustdoc/kanidm/entry/struct.EntryInit.html +++ b/docs/rustdoc/kanidm/entry/struct.EntryInit.html @@ -1,6 +1,6 @@ -EntryInit in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryInit pub struct EntryInit;Trait Implementations
Returns a copy of the value. Read more
+EntryInit in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryInit pub struct EntryInit;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntryInit
impl UnwindSafe for EntryInit
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/entry/struct.EntryInvalid.html b/docs/rustdoc/kanidm/entry/struct.EntryInvalid.html index 143bd1e94..f7f81c114 100644 --- a/docs/rustdoc/kanidm/entry/struct.EntryInvalid.html +++ b/docs/rustdoc/kanidm/entry/struct.EntryInvalid.html @@ -1,6 +1,6 @@ -EntryInvalid in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryInvalid pub struct EntryInvalid { /* fields omitted */ }Trait Implementations
Returns a copy of the value. Read more
+EntryInvalid in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryInvalid pub struct EntryInvalid { /* fields omitted */ }Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntryInvalid
impl Send for EntryInvalid
impl Sync for EntryInvalid
impl Unpin for EntryInvalid
impl UnwindSafe for EntryInvalid
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/entry/struct.EntryNew.html b/docs/rustdoc/kanidm/entry/struct.EntryNew.html index 9bffa4cb7..7759b0f0b 100644 --- a/docs/rustdoc/kanidm/entry/struct.EntryNew.html +++ b/docs/rustdoc/kanidm/entry/struct.EntryNew.html @@ -1,6 +1,6 @@ -EntryNew in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryNew pub struct EntryNew;Trait Implementations
Returns a copy of the value. Read more
+EntryNew in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryNew pub struct EntryNew;Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntryNew
impl UnwindSafe for EntryNew
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/entry/struct.EntryReduced.html b/docs/rustdoc/kanidm/entry/struct.EntryReduced.html index 786bde942..4804dc3be 100644 --- a/docs/rustdoc/kanidm/entry/struct.EntryReduced.html +++ b/docs/rustdoc/kanidm/entry/struct.EntryReduced.html @@ -1,6 +1,6 @@ -EntryReduced in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryReduced pub struct EntryReduced { /* fields omitted */ }Trait Implementations
Returns a copy of the value. Read more
+EntryReduced in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryReduced pub struct EntryReduced { /* fields omitted */ }Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntryReduced
impl Send for EntryReduced
impl Sync for EntryReduced
impl Unpin for EntryReduced
impl UnwindSafe for EntryReduced
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/entry/struct.EntrySealed.html b/docs/rustdoc/kanidm/entry/struct.EntrySealed.html index 83fa1cf15..0b1e409ec 100644 --- a/docs/rustdoc/kanidm/entry/struct.EntrySealed.html +++ b/docs/rustdoc/kanidm/entry/struct.EntrySealed.html @@ -1,6 +1,6 @@ -EntrySealed in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntrySealed pub struct EntrySealed { /* fields omitted */ }Trait Implementations
Returns a copy of the value. Read more
+EntrySealed in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntrySealed pub struct EntrySealed { /* fields omitted */ }Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntrySealed
impl Send for EntrySealed
impl Sync for EntrySealed
impl Unpin for EntrySealed
impl UnwindSafe for EntrySealed
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/entry/struct.EntryValid.html b/docs/rustdoc/kanidm/entry/struct.EntryValid.html index e1c8ec74f..f79cd59a6 100644 --- a/docs/rustdoc/kanidm/entry/struct.EntryValid.html +++ b/docs/rustdoc/kanidm/entry/struct.EntryValid.html @@ -1,6 +1,6 @@ -EntryValid in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryValid pub struct EntryValid { /* fields omitted */ }Trait Implementations
Returns a copy of the value. Read more
+EntryValid in kanidm::entry - Rust Struct kanidm::
entry:: [−][src]EntryValid pub struct EntryValid { /* fields omitted */ }Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EntryValid
impl Send for EntryValid
impl Sync for EntryValid
impl Unpin for EntryValid
impl UnwindSafe for EntryValid
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/entry/type.EntryInvalidCommitted.html b/docs/rustdoc/kanidm/entry/type.EntryInvalidCommitted.html index bfe3bc2d4..95f7120bf 100644 --- a/docs/rustdoc/kanidm/entry/type.EntryInvalidCommitted.html +++ b/docs/rustdoc/kanidm/entry/type.EntryInvalidCommitted.html @@ -1,3 +1,3 @@ -EntryInvalidCommitted in kanidm::entry - Rust + Type Definition kanidm::
entry:: [−][src]EntryInvalidCommitted pub type EntryInvalidCommitted = Entry<EntryInvalid, EntryCommitted>;EntryInvalidCommitted in kanidm::entry - Rust \ No newline at end of file diff --git a/docs/rustdoc/kanidm/entry/type.EntrySealedCommitted.html b/docs/rustdoc/kanidm/entry/type.EntrySealedCommitted.html index 8a7828788..3f2c2e1dd 100644 --- a/docs/rustdoc/kanidm/entry/type.EntrySealedCommitted.html +++ b/docs/rustdoc/kanidm/entry/type.EntrySealedCommitted.html @@ -1,3 +1,3 @@ - Type Definition kanidm::
entry:: [−][src]EntryInvalidCommitted pub type EntryInvalidCommitted = Entry<EntryInvalid, EntryCommitted>;EntrySealedCommitted in kanidm::entry - Rust + Type Definition kanidm::
entry:: [−][src]EntrySealedCommitted pub type EntrySealedCommitted = Entry<EntrySealed, EntryCommitted>;EntrySealedCommitted in kanidm::entry - Rust \ No newline at end of file diff --git a/docs/rustdoc/kanidm/entry/type.EntryTuple.html b/docs/rustdoc/kanidm/entry/type.EntryTuple.html index fa3238418..bc4a958c0 100644 --- a/docs/rustdoc/kanidm/entry/type.EntryTuple.html +++ b/docs/rustdoc/kanidm/entry/type.EntryTuple.html @@ -1,3 +1,3 @@ - Type Definition kanidm::
entry:: [−][src]EntrySealedCommitted pub type EntrySealedCommitted = Entry<EntrySealed, EntryCommitted>;EntryTuple in kanidm::entry - Rust + Type Definition kanidm::
entry:: [−][src]EntryTuple pub type EntryTuple = (EntrySealedCommitted, EntryInvalidCommitted);EntryTuple in kanidm::entry - Rust \ No newline at end of file diff --git a/docs/rustdoc/kanidm/event/enum.AuthEventStep.html b/docs/rustdoc/kanidm/event/enum.AuthEventStep.html index a07ed0212..7c21c7e81 100644 --- a/docs/rustdoc/kanidm/event/enum.AuthEventStep.html +++ b/docs/rustdoc/kanidm/event/enum.AuthEventStep.html @@ -1,8 +1,8 @@ - Type Definition kanidm::
entry:: [−][src]EntryTuple pub type EntryTuple = (Arc<EntrySealedCommitted>, EntryInvalidCommitted);AuthEventStep in kanidm::event - Rust Enum kanidm::
event:: [−][src]AuthEventStep pub enum AuthEventStep { +AuthEventStep in kanidm::event - Rust Enum kanidm::
event:: [−][src]AuthEventStep pub enum AuthEventStep { Init(AuthEventStepInit), Begin(AuthEventStepMech), Cred(AuthEventStepCred), -}Variants
Init(AuthEventStepInit)
Begin(AuthEventStepMech)
Cred(AuthEventStepCred)
Trait Implementations
Formats the value using the given formatter. Read more
+}Variants
Init(AuthEventStepInit)
Begin(AuthEventStepMech)
Cred(AuthEventStepCred)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthEventStep
impl Send for AuthEventStep
impl Sync for AuthEventStep
impl Unpin for AuthEventStep
impl UnwindSafe for AuthEventStep
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/event/index.html b/docs/rustdoc/kanidm/event/index.html index 397883460..50d9ca090 100644 --- a/docs/rustdoc/kanidm/event/index.html +++ b/docs/rustdoc/kanidm/event/index.html @@ -1,4 +1,4 @@ -kanidm::event - Rust Module kanidm::
event [−][src]Expand description
An
event
is a self contained module of data, that contains all of the +kanidm::event - Rust Module kanidm::
event [−][src]Expand description
An
event
is a self contained module of data, that contains all of the required information for any operation to proceed. While there are many types of potential events, they all eventually lower to one of:diff --git a/docs/rustdoc/kanidm/event/struct.AuthEvent.html b/docs/rustdoc/kanidm/event/struct.AuthEvent.html index 4acfd96bb..20262ef04 100644 --- a/docs/rustdoc/kanidm/event/struct.AuthEvent.html +++ b/docs/rustdoc/kanidm/event/struct.AuthEvent.html @@ -1,7 +1,7 @@ -
AuthEvent in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthEvent pub struct AuthEvent { +AuthEvent in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthEvent pub struct AuthEvent { pub ident: Option<Identity>, pub step: AuthEventStep, -}Fields
ident: Option<Identity>
step: AuthEventStep
Implementations
pub fn from_message(
sessionid: Option<Uuid>,
req: AuthRequest
) -> Result<Self, OperationError>Trait Implementations
Formats the value using the given formatter. Read more
+}Fields
ident: Option<Identity>
step: AuthEventStep
Implementations
pub fn from_message(
sessionid: Option<Uuid>,
req: AuthRequest
) -> Result<Self, OperationError>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthEvent
impl UnwindSafe for AuthEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/event/struct.AuthEventStepCred.html b/docs/rustdoc/kanidm/event/struct.AuthEventStepCred.html index fbb9d5a40..f82a70792 100644 --- a/docs/rustdoc/kanidm/event/struct.AuthEventStepCred.html +++ b/docs/rustdoc/kanidm/event/struct.AuthEventStepCred.html @@ -1,7 +1,7 @@ -AuthEventStepCred in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthEventStepCred pub struct AuthEventStepCred { +AuthEventStepCred in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthEventStepCred pub struct AuthEventStepCred { pub sessionid: Uuid, pub cred: AuthCredential, -}Fields
sessionid: Uuid
cred: AuthCredential
Trait Implementations
Formats the value using the given formatter. Read more
+}Fields
sessionid: Uuid
cred: AuthCredential
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthEventStepCred
impl Send for AuthEventStepCred
impl Sync for AuthEventStepCred
impl Unpin for AuthEventStepCred
impl UnwindSafe for AuthEventStepCred
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/event/struct.AuthEventStepInit.html b/docs/rustdoc/kanidm/event/struct.AuthEventStepInit.html index a1384fdce..4c945c236 100644 --- a/docs/rustdoc/kanidm/event/struct.AuthEventStepInit.html +++ b/docs/rustdoc/kanidm/event/struct.AuthEventStepInit.html @@ -1,7 +1,7 @@ -AuthEventStepInit in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthEventStepInit pub struct AuthEventStepInit { +AuthEventStepInit in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthEventStepInit Fields
name: String
appid: Option<String>
Trait Implementations
Formats the value using the given formatter. Read more
+}Fields
name: String
appid: Option<String>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthEventStepInit
impl Send for AuthEventStepInit
impl Sync for AuthEventStepInit
impl Unpin for AuthEventStepInit
impl UnwindSafe for AuthEventStepInit
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/event/struct.AuthEventStepMech.html b/docs/rustdoc/kanidm/event/struct.AuthEventStepMech.html index 03c8a59a7..157693e2a 100644 --- a/docs/rustdoc/kanidm/event/struct.AuthEventStepMech.html +++ b/docs/rustdoc/kanidm/event/struct.AuthEventStepMech.html @@ -1,7 +1,7 @@ -AuthEventStepMech in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthEventStepMech pub struct AuthEventStepMech { +AuthEventStepMech in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthEventStepMech Fields
sessionid: Uuid
mech: AuthMech
Trait Implementations
Formats the value using the given formatter. Read more
+}Fields
sessionid: Uuid
mech: AuthMech
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthEventStepMech
impl Send for AuthEventStepMech
impl Sync for AuthEventStepMech
impl Unpin for AuthEventStepMech
impl UnwindSafe for AuthEventStepMech
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/event/struct.AuthResult.html b/docs/rustdoc/kanidm/event/struct.AuthResult.html index 611d17649..a375a9b81 100644 --- a/docs/rustdoc/kanidm/event/struct.AuthResult.html +++ b/docs/rustdoc/kanidm/event/struct.AuthResult.html @@ -1,8 +1,8 @@ -AuthResult in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthResult pub struct AuthResult { +AuthResult in kanidm::event - Rust Struct kanidm::
event:: [−][src]AuthResult Fields
sessionid: Uuid
state: AuthState
delay: Option<Duration>
Trait Implementations
Formats the value using the given formatter. Read more
+}Fields
sessionid: Uuid
state: AuthState
delay: Option<Duration>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthResult
impl Send for AuthResult
impl Sync for AuthResult
impl Unpin for AuthResult
impl UnwindSafe for AuthResult
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/event/struct.CreateEvent.html b/docs/rustdoc/kanidm/event/struct.CreateEvent.html index e733e15b4..603b08fd1 100644 --- a/docs/rustdoc/kanidm/event/struct.CreateEvent.html +++ b/docs/rustdoc/kanidm/event/struct.CreateEvent.html @@ -1,7 +1,7 @@ -CreateEvent in kanidm::event - Rust Struct kanidm::
event:: [−][src]CreateEvent pub struct CreateEvent { +CreateEvent in kanidm::event - Rust Struct kanidm::
event:: [−][src]CreateEvent Fields
ident: Identity
entries: Vec<Entry<EntryInit, EntryNew>>
Implementations
pub fn from_message(
audit: &mut AuditScope,
ident: Identity,
req: &CreateRequest,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>Trait Implementations
Formats the value using the given formatter. Read more
+}Fields
ident: Identity
entries: Vec<Entry<EntryInit, EntryNew>>
Implementations
pub fn from_message(
audit: &mut AuditScope,
ident: Identity,
req: &CreateRequest,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CreateEvent
impl Send for CreateEvent
impl Sync for CreateEvent
impl Unpin for CreateEvent
impl UnwindSafe for CreateEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/event/struct.DeleteEvent.html b/docs/rustdoc/kanidm/event/struct.DeleteEvent.html index 12aa61ea4..5b9ad3cd0 100644 --- a/docs/rustdoc/kanidm/event/struct.DeleteEvent.html +++ b/docs/rustdoc/kanidm/event/struct.DeleteEvent.html @@ -1,8 +1,8 @@ -DeleteEvent in kanidm::event - Rust Struct kanidm::
event:: [−][src]DeleteEvent pub struct DeleteEvent { +DeleteEvent in kanidm::event - Rust Struct kanidm::
event:: [−][src]DeleteEvent pub struct DeleteEvent { pub ident: Identity, pub filter: Filter<FilterValid>, pub filter_orig: Filter<FilterValid>, -}Fields
ident: Identity
filter: Filter<FilterValid>
filter_orig: Filter<FilterValid>
Implementations
pub fn from_message(
audit: &mut AuditScope,
ident: Identity,
req: &DeleteRequest,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>pub fn from_parts(
_audit: &mut AuditScope,
ident: Identity,
f: &Filter<FilterInvalid>,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>Trait Implementations
Formats the value using the given formatter. Read more
+}Fields
ident: Identity
filter: Filter<FilterValid>
filter_orig: Filter<FilterValid>
Implementations
pub fn from_message(
audit: &mut AuditScope,
ident: Identity,
req: &DeleteRequest,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>pub fn from_parts(
_audit: &mut AuditScope,
ident: Identity,
f: &Filter<FilterInvalid>,
qs: &QueryServerWriteTransaction<'_>
) -> Result<Self, OperationError>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DeleteEvent
impl Send for DeleteEvent
impl Sync for DeleteEvent
impl Unpin for DeleteEvent
impl UnwindSafe for DeleteEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
diff --git a/docs/rustdoc/kanidm/event/struct.ExistsEvent.html b/docs/rustdoc/kanidm/event/struct.ExistsEvent.html index 7ff592609..4df9c05b2 100644 --- a/docs/rustdoc/kanidm/event/struct.ExistsEvent.html +++ b/docs/rustdoc/kanidm/event/struct.ExistsEvent.html @@ -1,8 +1,8 @@ -ExistsEvent in kanidm::event - Rust Struct kanidm::
event:: [−][src]ExistsEvent pub struct ExistsEvent { +ExistsEvent in kanidm::event - Rust Struct kanidm::
event:: ExistsEvent