Enum kanidm::prelude::OperationError[][src]

pub enum OperationError {
Show 45 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, InvalidState, InvalidEntryState, InvalidUuid, InvalidReplChangeId, InvalidAcpState(String), InvalidSchemaState(String), InvalidAccountState(String), BackendEngine, SqliteError, FsError, SerdeJsonError, SerdeCborError, AccessDenied, NotAuthenticated, InvalidAuthState(String), InvalidSessionState, SystemProtectedObject, SystemProtectedAttribute, PasswordTooWeak, PasswordTooShort(usize), PasswordEmpty, PasswordBadListed, CryptographyError, ResourceLimit, QueueDisconnected, Webauthn,
}

Variants

SessionExpired

EmptyRequest

Backend

NoMatchingEntries

NoMatchingAttributes

CorruptedEntry(u64)

Tuple Fields

0: u64

CorruptedIndex(String)

Tuple Fields

0: String

ConsistencyError(Vec<Result<(), ConsistencyError>, Global>)

Tuple Fields

SchemaViolation(SchemaError)

Tuple Fields

Plugin(PluginError)

Tuple Fields

FilterGeneration

FilterUuidResolution

InvalidAttributeName(String)

Tuple Fields

0: String

InvalidAttribute(String)

Tuple Fields

0: String

InvalidDbState

InvalidCacheState

InvalidValueState

InvalidEntryId

InvalidRequestState

InvalidState

InvalidEntryState

InvalidUuid

InvalidReplChangeId

InvalidAcpState(String)

Tuple Fields

0: String

InvalidSchemaState(String)

Tuple Fields

0: String

InvalidAccountState(String)

Tuple Fields

0: String

BackendEngine

SqliteError

FsError

SerdeJsonError

SerdeCborError

AccessDenied

NotAuthenticated

InvalidAuthState(String)

Tuple Fields

0: String

InvalidSessionState

SystemProtectedObject

SystemProtectedAttribute

PasswordTooWeak

PasswordTooShort(usize)

Tuple Fields

0: usize

PasswordEmpty

PasswordBadListed

CryptographyError

ResourceLimit

QueueDisconnected

Webauthn

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more