Enum kanidm_proto::v1::OperationError[][src]

pub enum OperationError {
Show 45 variants SessionExpired, EmptyRequest, Backend, NoMatchingEntries, NoMatchingAttributes, CorruptedEntry(u64), CorruptedIndex(String), ConsistencyError(Vec<Result<(), ConsistencyError>>), 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 of CorruptedEntry

0: u64
CorruptedIndex(String)

Tuple Fields of CorruptedIndex

0: String
ConsistencyError(Vec<Result<(), ConsistencyError>>)

Tuple Fields of ConsistencyError

0: Vec<Result<(), ConsistencyError>>
SchemaViolation(SchemaError)

Tuple Fields of SchemaViolation

0: SchemaError
Plugin(PluginError)

Tuple Fields of Plugin

0: PluginError
FilterGeneration
FilterUuidResolution
InvalidAttributeName(String)

Tuple Fields of InvalidAttributeName

0: String
InvalidAttribute(String)

Tuple Fields of InvalidAttribute

0: String
InvalidDbState
InvalidCacheState
InvalidValueState
InvalidEntryId
InvalidRequestState
InvalidState
InvalidEntryState
InvalidUuid
InvalidReplChangeId
InvalidAcpState(String)

Tuple Fields of InvalidAcpState

0: String
InvalidSchemaState(String)

Tuple Fields of InvalidSchemaState

0: String
InvalidAccountState(String)

Tuple Fields of InvalidAccountState

0: String
BackendEngine
SqliteError
FsError
SerdeJsonError
SerdeCborError
AccessDenied
NotAuthenticated
InvalidAuthState(String)

Tuple Fields of InvalidAuthState

0: String
InvalidSessionState
SystemProtectedObject
SystemProtectedAttribute
PasswordTooWeak
PasswordTooShort(usize)

Tuple Fields of PasswordTooShort

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.

Performs the conversion.

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.