[][src]Enum couchbase::CouchbaseError

#[non_exhaustive]pub enum CouchbaseError {
    Generic {
        ctx: ErrorContext,
    },
    DocumentNotFound {
        ctx: ErrorContext,
    },
    DecodingFailure {
        ctx: ErrorContext,
        source: Error,
    },
    EncodingFailure {
        ctx: ErrorContext,
        source: Error,
    },
    InvalidArgument {
        ctx: ErrorContext,
    },
    Timeout {
        ambiguous: bool,
        ctx: ErrorContext,
    },
    CasMismatch {
        ctx: ErrorContext,
    },
    RequestCanceled {
        ctx: ErrorContext,
    },
    ServiceNotAvailable {
        ctx: ErrorContext,
    },
    InternalServerFailure {
        ctx: ErrorContext,
    },
    AuthenticationFailure {
        ctx: ErrorContext,
    },
    TemporaryFailure {
        ctx: ErrorContext,
    },
    ParsingFailure {
        ctx: ErrorContext,
    },
    BucketNotFound {
        ctx: ErrorContext,
    },
    CollectionNotFound {
        ctx: ErrorContext,
    },
    UnsupportedOperation {
        ctx: ErrorContext,
    },
    FeatureNotAvailable {
        ctx: ErrorContext,
    },
    ScopeNotFound {
        ctx: ErrorContext,
    },
    IndexNotFound {
        ctx: ErrorContext,
    },
    IndexExists {
        ctx: ErrorContext,
    },
    DocumentUnretrievable {
        ctx: ErrorContext,
    },
    DocumentLocked {
        ctx: ErrorContext,
    },
    ValueTooLarge {
        ctx: ErrorContext,
    },
    DocumentExists {
        ctx: ErrorContext,
    },
    ValueNotJson {
        ctx: ErrorContext,
    },
    DurabilityLevelNotAvailable {
        ctx: ErrorContext,
    },
    DurabilityImpossible {
        ctx: ErrorContext,
    },
    DurabilityAmbiguous {
        ctx: ErrorContext,
    },
    DurableWriteInProgress {
        ctx: ErrorContext,
    },
    DurableWriteReCommitInProgress {
        ctx: ErrorContext,
    },
    MutationLost {
        ctx: ErrorContext,
    },
    PathNotFound {
        ctx: ErrorContext,
    },
    PathMismatch {
        ctx: ErrorContext,
    },
    PathInvalid {
        ctx: ErrorContext,
    },
    PathTooBig {
        ctx: ErrorContext,
    },
    PathTooDeep {
        ctx: ErrorContext,
    },
    ValueTooDeep {
        ctx: ErrorContext,
    },
    ValueInvalid {
        ctx: ErrorContext,
    },
    DocumentNotJson {
        ctx: ErrorContext,
    },
    NumberTooBig {
        ctx: ErrorContext,
    },
    DeltaInvalid {
        ctx: ErrorContext,
    },
    PathExists {
        ctx: ErrorContext,
    },
    XattrUnknownMacro {
        ctx: ErrorContext,
    },
    XattrInvalidFlagCombo {
        ctx: ErrorContext,
    },
    XattrInvalidKeyCombo {
        ctx: ErrorContext,
    },
    XattrUnknownVirtualAttribute {
        ctx: ErrorContext,
    },
    XattrCannotModifyVirtualAttribute {
        ctx: ErrorContext,
    },
    XattrInvalidOrder {
        ctx: ErrorContext,
    },
    PlanningFailure {
        ctx: ErrorContext,
    },
    IndexFailure {
        ctx: ErrorContext,
    },
    PreparedStatementFailure {
        ctx: ErrorContext,
    },
    CompilationFailure {
        ctx: ErrorContext,
    },
    JobQueueFull {
        ctx: ErrorContext,
    },
    DatasetNotFound {
        ctx: ErrorContext,
    },
    DataverseNotFound {
        ctx: ErrorContext,
    },
    DatasetExists {
        ctx: ErrorContext,
    },
    DataverseExists {
        ctx: ErrorContext,
    },
    LinkNotFound {
        ctx: ErrorContext,
    },
    ViewNotFound {
        ctx: ErrorContext,
    },
    DesignDocumentNotFound {
        ctx: ErrorContext,
    },
    CollectionExists {
        ctx: ErrorContext,
    },
    ScopeExists {
        ctx: ErrorContext,
    },
    UserNotFound {
        ctx: ErrorContext,
    },
    GroupNotFound {
        ctx: ErrorContext,
    },
    BucketExists {
        ctx: ErrorContext,
    },
    UserExists {
        ctx: ErrorContext,
    },
    BucketNotFlushable {
        ctx: ErrorContext,
    },
    GenericHTTP {
        ctx: ErrorContext,
        status: u16,
        message: String,
    },
}

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Generic

Fields of Generic

ctx: ErrorContext
DocumentNotFound

Fields of DocumentNotFound

ctx: ErrorContext
DecodingFailure

Fields of DecodingFailure

ctx: ErrorContextsource: Error
EncodingFailure

Fields of EncodingFailure

ctx: ErrorContextsource: Error
InvalidArgument

Fields of InvalidArgument

ctx: ErrorContext
Timeout

Fields of Timeout

ambiguous: boolctx: ErrorContext
CasMismatch

Fields of CasMismatch

ctx: ErrorContext
RequestCanceled

Fields of RequestCanceled

ctx: ErrorContext
ServiceNotAvailable

Fields of ServiceNotAvailable

ctx: ErrorContext
InternalServerFailure

Fields of InternalServerFailure

ctx: ErrorContext
AuthenticationFailure

Fields of AuthenticationFailure

ctx: ErrorContext
TemporaryFailure

Fields of TemporaryFailure

ctx: ErrorContext
ParsingFailure

Fields of ParsingFailure

ctx: ErrorContext
BucketNotFound

Fields of BucketNotFound

ctx: ErrorContext
CollectionNotFound

Fields of CollectionNotFound

ctx: ErrorContext
UnsupportedOperation

Fields of UnsupportedOperation

ctx: ErrorContext
FeatureNotAvailable

Fields of FeatureNotAvailable

ctx: ErrorContext
ScopeNotFound

Fields of ScopeNotFound

ctx: ErrorContext
IndexNotFound

Fields of IndexNotFound

ctx: ErrorContext
IndexExists

Fields of IndexExists

ctx: ErrorContext
DocumentUnretrievable

Fields of DocumentUnretrievable

ctx: ErrorContext
DocumentLocked

Fields of DocumentLocked

ctx: ErrorContext
ValueTooLarge

Fields of ValueTooLarge

ctx: ErrorContext
DocumentExists

Fields of DocumentExists

ctx: ErrorContext
ValueNotJson

Fields of ValueNotJson

ctx: ErrorContext
DurabilityLevelNotAvailable

Fields of DurabilityLevelNotAvailable

ctx: ErrorContext
DurabilityImpossible

Fields of DurabilityImpossible

ctx: ErrorContext
DurabilityAmbiguous

Fields of DurabilityAmbiguous

ctx: ErrorContext
DurableWriteInProgress

Fields of DurableWriteInProgress

ctx: ErrorContext
DurableWriteReCommitInProgress

Fields of DurableWriteReCommitInProgress

ctx: ErrorContext
MutationLost

Fields of MutationLost

ctx: ErrorContext
PathNotFound

Fields of PathNotFound

ctx: ErrorContext
PathMismatch

Fields of PathMismatch

ctx: ErrorContext
PathInvalid

Fields of PathInvalid

ctx: ErrorContext
PathTooBig

Fields of PathTooBig

ctx: ErrorContext
PathTooDeep

Fields of PathTooDeep

ctx: ErrorContext
ValueTooDeep

Fields of ValueTooDeep

ctx: ErrorContext
ValueInvalid

Fields of ValueInvalid

ctx: ErrorContext
DocumentNotJson

Fields of DocumentNotJson

ctx: ErrorContext
NumberTooBig

Fields of NumberTooBig

ctx: ErrorContext
DeltaInvalid

Fields of DeltaInvalid

ctx: ErrorContext
PathExists

Fields of PathExists

ctx: ErrorContext
XattrUnknownMacro

Fields of XattrUnknownMacro

ctx: ErrorContext
XattrInvalidFlagCombo

Fields of XattrInvalidFlagCombo

ctx: ErrorContext
XattrInvalidKeyCombo

Fields of XattrInvalidKeyCombo

ctx: ErrorContext
XattrUnknownVirtualAttribute

Fields of XattrUnknownVirtualAttribute

ctx: ErrorContext
XattrCannotModifyVirtualAttribute

Fields of XattrCannotModifyVirtualAttribute

ctx: ErrorContext
XattrInvalidOrder

Fields of XattrInvalidOrder

ctx: ErrorContext
PlanningFailure

Fields of PlanningFailure

ctx: ErrorContext
IndexFailure

Fields of IndexFailure

ctx: ErrorContext
PreparedStatementFailure

Fields of PreparedStatementFailure

ctx: ErrorContext
CompilationFailure

Fields of CompilationFailure

ctx: ErrorContext
JobQueueFull

Fields of JobQueueFull

ctx: ErrorContext
DatasetNotFound

Fields of DatasetNotFound

ctx: ErrorContext
DataverseNotFound

Fields of DataverseNotFound

ctx: ErrorContext
DatasetExists

Fields of DatasetExists

ctx: ErrorContext
DataverseExists

Fields of DataverseExists

ctx: ErrorContext
LinkNotFound

Fields of LinkNotFound

ctx: ErrorContext
ViewNotFound

Fields of ViewNotFound

ctx: ErrorContext
DesignDocumentNotFound

Fields of DesignDocumentNotFound

ctx: ErrorContext
CollectionExists

Fields of CollectionExists

ctx: ErrorContext
ScopeExists

Fields of ScopeExists

ctx: ErrorContext
UserNotFound

Fields of UserNotFound

ctx: ErrorContext
GroupNotFound

Fields of GroupNotFound

ctx: ErrorContext
BucketExists

Fields of BucketExists

ctx: ErrorContext
UserExists

Fields of UserExists

ctx: ErrorContext
BucketNotFlushable

Fields of BucketNotFlushable

ctx: ErrorContext
GenericHTTP

Fields of GenericHTTP

ctx: ErrorContextstatus: u16message: String

Trait Implementations

impl Debug for CouchbaseError[src]

impl Display for CouchbaseError[src]

impl Error for CouchbaseError where
    Self: Debug + Display
[src]

impl ErrorCompat for CouchbaseError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,