Enum kanidm_proto::internal::OperationError
source · pub enum OperationError {
Show 144 variants
SessionExpired,
DuplicateKey,
DuplicateLabel,
EmptyRequest,
Backend,
NoMatchingEntries,
NoMatchingAttributes,
UniqueConstraintViolation,
CorruptedEntry(u64),
CorruptedIndex(String),
ConsistencyError(Vec<ConsistencyError>),
SchemaViolation(SchemaError),
Plugin(PluginError),
FilterGeneration,
FilterParseError,
FilterUuidResolution,
InvalidAttributeName(String),
InvalidAttribute(String),
InvalidLabel,
InvalidDbState,
InvalidCacheState,
InvalidValueState,
InvalidEntryId,
InvalidRequestState,
InvalidSyncState,
InvalidState,
InvalidEntryState,
InvalidUuid,
InvalidReplChangeId,
InvalidAcpState(String),
InvalidSchemaState(String),
InvalidAccountState(String),
MissingClass(String),
MissingAttribute(Attribute),
MissingEntries,
ModifyAssertionFailed,
BackendEngine,
SqliteError,
FsError,
SerdeJsonError,
SerdeCborError,
AccessDenied,
NotAuthenticated,
NotAuthorised,
InvalidAuthState(String),
InvalidSessionState,
SystemProtectedObject,
SystemProtectedAttribute,
PasswordQuality(Vec<PasswordFeedback>),
CryptographyError,
ResourceLimit,
QueueDisconnected,
Webauthn,
Wait(OffsetDateTime),
ReplReplayFailure,
ReplEntryNotChanged,
ReplInvalidRUVState,
ReplDomainLevelUnsatisfiable,
ReplDomainUuidMismatch,
ReplServerUuidSplitDataState,
TransactionAlreadyCommitted,
CannotStartMFADuringOngoingMFASession,
ValueDenyName,
DatabaseLockAcquisitionTimeout,
KG001TaskTimeout,
KG002TaskCommFailure,
KG003CacheClearFailed,
CU0001WebauthnAttestationNotTrusted,
CU0002WebauthnRegistrationError,
CU0003WebauthnUserNotVerified,
VS0001IncomingReplSshPublicKey,
VS0002CertificatePublicKeyDigest,
VS0003CertificateDerDecode,
VS0004CertificatePublicKeyDigest,
VS0005CertificatePublicKeyDigest,
VL0001ValueSshPublicKeyString,
LD0001AnonymousNotAllowed,
DB0001MismatchedRestoreVersion,
DB0002MismatchedRestoreVersion,
DB0003FilterResolveCacheBuild,
DB0004DatabaseTooOld,
SC0001IncomingSshPublicKey,
MG0001InvalidReMigrationLevel,
MG0002RaiseDomainLevelExceedsMaximum,
MG0003ServerPhaseInvalidForMigration,
MG0004DomainLevelInDevelopment,
MG0005GidConstraintsNotMet,
MG0006SKConstraintsNotMet,
MG0007Oauth2StrictConstraintsNotMet,
MG0008SkipUpgradeAttempted,
KP0001KeyProviderNotLoaded,
KP0002KeyProviderInvalidClass,
KP0003KeyProviderInvalidType,
KP0004KeyProviderMissingAttributeName,
KP0005KeyProviderDuplicate,
KP0006KeyObjectJwtEs256Generation,
KP0007KeyProviderDefaultNotAvailable,
KP0008KeyObjectMissingUuid,
KP0009KeyObjectPrivateToDer,
KP0010KeyObjectSignerToVerifier,
KP0011KeyObjectMissingClass,
KP0012KeyObjectMissingProvider,
KP0012KeyProviderNotLoaded,
KP0013KeyObjectJwsEs256DerInvalid,
KP0014KeyObjectSignerToVerifier,
KP0015KeyObjectJwsEs256DerInvalid,
KP0016KeyObjectJwsEs256DerInvalid,
KP0017KeyProviderNoSuchKey,
KP0018KeyProviderNoSuchKey,
KP0019KeyProviderUnsupportedAlgorithm,
KP0020KeyObjectNoActiveSigningKeys,
KP0021KeyObjectJwsEs256Signature,
KP0022KeyObjectJwsNotAssociated,
KP0023KeyObjectJwsKeyRevoked,
KP0024KeyObjectJwsInvalid,
KP0025KeyProviderNotAvailable,
KP0026KeyObjectNoSuchKey,
KP0027KeyObjectPublicToDer,
KP0028KeyObjectImportJwsEs256DerInvalid,
KP0029KeyObjectSignerToVerifier,
KP0030KeyObjectPublicToDer,
KP0031KeyObjectNotFound,
KP0032KeyProviderNoSuchKey,
KP0033KeyProviderNoSuchKey,
KP0034KeyProviderUnsupportedAlgorithm,
KP0035KeyObjectJweA128GCMGeneration,
KP0036KeyObjectPrivateToBytes,
KP0037KeyObjectImportJweA128GCMInvalid,
KP0038KeyObjectImportJweA128GCMInvalid,
KP0039KeyObjectJweNotAssociated,
KP0040KeyObjectJweInvalid,
KP0041KeyObjectJweRevoked,
KP0042KeyObjectNoActiveEncryptionKeys,
KP0043KeyObjectJweA128GCMEncryption,
KP0044KeyObjectJwsPublicJwk,
PL0001GidOverlapsSystemRange,
UI0001ChallengeSerialisation,
UI0002InvalidState,
KU001InitWhileSessionActive,
KU002ContinueWhileSessionInActive,
KU003PamAuthFailed,
KU004PamInitFailed,
KU005ErrorCheckingAccount,
KU006OnlyRootAllowed,
}
Variants§
SessionExpired
DuplicateKey
DuplicateLabel
EmptyRequest
Backend
NoMatchingEntries
NoMatchingAttributes
UniqueConstraintViolation
CorruptedEntry(u64)
CorruptedIndex(String)
ConsistencyError(Vec<ConsistencyError>)
SchemaViolation(SchemaError)
Plugin(PluginError)
FilterGeneration
FilterParseError
FilterUuidResolution
InvalidAttributeName(String)
InvalidAttribute(String)
InvalidLabel
InvalidDbState
InvalidCacheState
InvalidValueState
InvalidEntryId
InvalidRequestState
InvalidSyncState
InvalidState
InvalidEntryState
InvalidUuid
InvalidReplChangeId
InvalidAcpState(String)
InvalidSchemaState(String)
InvalidAccountState(String)
MissingClass(String)
MissingAttribute(Attribute)
MissingEntries
ModifyAssertionFailed
BackendEngine
SqliteError
FsError
SerdeJsonError
SerdeCborError
AccessDenied
NotAuthenticated
NotAuthorised
InvalidAuthState(String)
InvalidSessionState
SystemProtectedObject
SystemProtectedAttribute
PasswordQuality(Vec<PasswordFeedback>)
CryptographyError
ResourceLimit
QueueDisconnected
Webauthn
Wait(OffsetDateTime)
ReplReplayFailure
ReplEntryNotChanged
ReplInvalidRUVState
ReplDomainLevelUnsatisfiable
ReplDomainUuidMismatch
ReplServerUuidSplitDataState
TransactionAlreadyCommitted
CannotStartMFADuringOngoingMFASession
ValueDenyName
when you ask for a gid that overlaps a system reserved range When a name is denied by the system config
DatabaseLockAcquisitionTimeout
When the DB is potentially over-loaded a timeout can occur starting your operation.
KG001TaskTimeout
KG002TaskCommFailure
KG003CacheClearFailed
CU0001WebauthnAttestationNotTrusted
CU0002WebauthnRegistrationError
CU0003WebauthnUserNotVerified
VS0001IncomingReplSshPublicKey
VS0002CertificatePublicKeyDigest
VS0003CertificateDerDecode
VS0004CertificatePublicKeyDigest
VS0005CertificatePublicKeyDigest
VL0001ValueSshPublicKeyString
LD0001AnonymousNotAllowed
DB0001MismatchedRestoreVersion
DB0002MismatchedRestoreVersion
DB0003FilterResolveCacheBuild
DB0004DatabaseTooOld
SC0001IncomingSshPublicKey
MG0001InvalidReMigrationLevel
MG0002RaiseDomainLevelExceedsMaximum
MG0003ServerPhaseInvalidForMigration
MG0004DomainLevelInDevelopment
MG0005GidConstraintsNotMet
MG0006SKConstraintsNotMet
MG0007Oauth2StrictConstraintsNotMet
MG0008SkipUpgradeAttempted
KP0001KeyProviderNotLoaded
KP0002KeyProviderInvalidClass
KP0003KeyProviderInvalidType
KP0004KeyProviderMissingAttributeName
KP0005KeyProviderDuplicate
KP0006KeyObjectJwtEs256Generation
KP0007KeyProviderDefaultNotAvailable
KP0008KeyObjectMissingUuid
KP0009KeyObjectPrivateToDer
KP0010KeyObjectSignerToVerifier
KP0011KeyObjectMissingClass
KP0012KeyObjectMissingProvider
KP0012KeyProviderNotLoaded
KP0013KeyObjectJwsEs256DerInvalid
KP0014KeyObjectSignerToVerifier
KP0015KeyObjectJwsEs256DerInvalid
KP0016KeyObjectJwsEs256DerInvalid
KP0017KeyProviderNoSuchKey
KP0018KeyProviderNoSuchKey
KP0019KeyProviderUnsupportedAlgorithm
KP0020KeyObjectNoActiveSigningKeys
KP0021KeyObjectJwsEs256Signature
KP0022KeyObjectJwsNotAssociated
KP0023KeyObjectJwsKeyRevoked
KP0024KeyObjectJwsInvalid
KP0025KeyProviderNotAvailable
KP0026KeyObjectNoSuchKey
KP0027KeyObjectPublicToDer
KP0028KeyObjectImportJwsEs256DerInvalid
KP0029KeyObjectSignerToVerifier
KP0030KeyObjectPublicToDer
KP0031KeyObjectNotFound
KP0032KeyProviderNoSuchKey
KP0033KeyProviderNoSuchKey
KP0034KeyProviderUnsupportedAlgorithm
KP0035KeyObjectJweA128GCMGeneration
KP0036KeyObjectPrivateToBytes
KP0037KeyObjectImportJweA128GCMInvalid
KP0038KeyObjectImportJweA128GCMInvalid
KP0039KeyObjectJweNotAssociated
KP0040KeyObjectJweInvalid
KP0041KeyObjectJweRevoked
KP0042KeyObjectNoActiveEncryptionKeys
KP0043KeyObjectJweA128GCMEncryption
KP0044KeyObjectJwsPublicJwk
PL0001GidOverlapsSystemRange
UI0001ChallengeSerialisation
UI0002InvalidState
KU001InitWhileSessionActive
KU002ContinueWhileSessionInActive
KU003PamAuthFailed
KU004PamInitFailed
KU005ErrorCheckingAccount
KU006OnlyRootAllowed
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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for OperationError
impl Display for OperationError
source§impl PartialEq for OperationError
impl PartialEq for OperationError
source§impl Serialize for OperationError
impl Serialize for OperationError
Auto Trait Implementations§
impl Freeze for OperationError
impl RefUnwindSafe for OperationError
impl Send for OperationError
impl Sync for OperationError
impl Unpin for OperationError
impl UnwindSafe for OperationError
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