Enum kanidmd_lib::prelude::ConsistencyError
source · pub enum ConsistencyError {
Show 23 variants
Unknown,
SchemaClassMissingAttribute(String, String),
SchemaClassPhantomAttribute(String, String),
SchemaUuidNotUnique(Uuid),
QueryServerSearchFailure,
EntryUuidCorrupt(u64),
UuidIndexCorrupt(String),
UuidNotUnique(String),
RefintNotUpheld(u64),
MemberOfInvalid(u64),
InvalidAttributeType(String),
DuplicateUniqueAttribute,
InvalidSpn(u64),
SqliteIntegrityFailure,
BackendAllIdsSync,
BackendIndexSync,
ChangelogDesynchronised(u64),
ChangeStateDesynchronised(u64),
RuvInconsistent(String),
DeniedName(Uuid),
KeyProviderUuidMissing {
key_object: Uuid,
},
KeyProviderNoKeys {
key_object: Uuid,
},
KeyProviderNotFound {
key_object: Uuid,
provider: Uuid,
},
}
Variants§
Unknown
SchemaClassMissingAttribute(String, String)
SchemaClassPhantomAttribute(String, String)
SchemaUuidNotUnique(Uuid)
QueryServerSearchFailure
EntryUuidCorrupt(u64)
UuidIndexCorrupt(String)
UuidNotUnique(String)
RefintNotUpheld(u64)
MemberOfInvalid(u64)
InvalidAttributeType(String)
DuplicateUniqueAttribute
InvalidSpn(u64)
SqliteIntegrityFailure
BackendAllIdsSync
BackendIndexSync
ChangelogDesynchronised(u64)
ChangeStateDesynchronised(u64)
RuvInconsistent(String)
DeniedName(Uuid)
KeyProviderUuidMissing
KeyProviderNoKeys
KeyProviderNotFound
Trait Implementations§
source§impl Debug for ConsistencyError
impl Debug for ConsistencyError
source§impl<'de> Deserialize<'de> for ConsistencyError
impl<'de> Deserialize<'de> for ConsistencyError
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConsistencyError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConsistencyError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ConsistencyError
impl PartialEq for ConsistencyError
source§impl Serialize for ConsistencyError
impl Serialize for ConsistencyError
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl<'__s> ToSchema<'__s> for ConsistencyError
impl<'__s> ToSchema<'__s> for ConsistencyError
impl Eq for ConsistencyError
impl StructuralPartialEq for ConsistencyError
Auto Trait Implementations§
impl Freeze for ConsistencyError
impl RefUnwindSafe for ConsistencyError
impl Send for ConsistencyError
impl Sync for ConsistencyError
impl Unpin for ConsistencyError
impl UnwindSafe for ConsistencyError
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request