Enum kanidmd_lib::prelude::OperationError
source · pub enum OperationError {
Show 51 variants
SessionExpired,
EmptyRequest,
Backend,
NoMatchingEntries,
NoMatchingAttributes,
CorruptedEntry(u64),
CorruptedIndex(String),
ConsistencyError(Vec<Result<(), ConsistencyError>, Global>),
SchemaViolation(SchemaError),
Plugin(PluginError),
FilterGeneration,
FilterUuidResolution,
InvalidAttributeName(String),
InvalidAttribute(String),
InvalidDbState,
InvalidCacheState,
InvalidValueState,
InvalidEntryId,
InvalidRequestState,
InvalidSyncState,
InvalidState,
InvalidEntryState,
InvalidUuid,
InvalidReplChangeId,
InvalidAcpState(String),
InvalidSchemaState(String),
InvalidAccountState(String),
MissingEntries,
ModifyAssertionFailed,
BackendEngine,
SqliteError,
FsError,
SerdeJsonError,
SerdeCborError,
AccessDenied,
NotAuthenticated,
NotAuthorised,
InvalidAuthState(String),
InvalidSessionState,
SystemProtectedObject,
SystemProtectedAttribute,
PasswordQuality(Vec<PasswordFeedback, Global>),
CryptographyError,
ResourceLimit,
QueueDisconnected,
Webauthn,
Wait(OffsetDateTime),
ReplReplayFailure,
ReplEntryNotChanged,
ReplInvalidRUVState,
ReplDomainLevelUnsatisfiable,
}
Variants§
SessionExpired
EmptyRequest
Backend
NoMatchingEntries
NoMatchingAttributes
CorruptedEntry(u64)
CorruptedIndex(String)
ConsistencyError(Vec<Result<(), ConsistencyError>, Global>)
SchemaViolation(SchemaError)
Plugin(PluginError)
FilterGeneration
FilterUuidResolution
InvalidAttributeName(String)
InvalidAttribute(String)
InvalidDbState
InvalidCacheState
InvalidValueState
InvalidEntryId
InvalidRequestState
InvalidSyncState
InvalidState
InvalidEntryState
InvalidUuid
InvalidReplChangeId
InvalidAcpState(String)
InvalidSchemaState(String)
InvalidAccountState(String)
MissingEntries
ModifyAssertionFailed
BackendEngine
SqliteError
FsError
SerdeJsonError
SerdeCborError
AccessDenied
NotAuthenticated
NotAuthorised
InvalidAuthState(String)
InvalidSessionState
SystemProtectedObject
SystemProtectedAttribute
PasswordQuality(Vec<PasswordFeedback, Global>)
CryptographyError
ResourceLimit
QueueDisconnected
Webauthn
Wait(OffsetDateTime)
ReplReplayFailure
ReplEntryNotChanged
ReplInvalidRUVState
ReplDomainLevelUnsatisfiable
Trait Implementations§
source§impl Debug for OperationError
impl Debug for OperationError
source§impl<'de> Deserialize<'de> for OperationError
impl<'de> Deserialize<'de> for OperationError
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<OperationError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<OperationError, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<OperationError> for OperationError
impl PartialEq<OperationError> for OperationError
source§fn eq(&self, other: &OperationError) -> bool
fn eq(&self, other: &OperationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OperationError
impl Serialize for OperationError
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