Enum coord::catalog::ErrorKind[][src]

pub enum ErrorKind {
Show 25 variants Corruption { detail: String, }, IdExhaustion, OidExhaustion, Sql(SqlCatalogError), DatabaseAlreadyExists(String), DefaultIndexDisabled { idx_on: String, default_idx: String, }, SchemaAlreadyExists(String), RoleAlreadyExists(String), ItemAlreadyExists(String), ReservedSchemaName(String), ReservedRoleName(String), ReadOnlySystemSchema(String), ReadOnlyItem(String), SchemaNotEmpty(String), InvalidTemporaryDependency(String), InvalidTemporarySchema, MandatoryTableIndex(String), UnsatisfiableLoggingDependency { depender_name: String, }, Storage(Error), Persistence(Error), AmbiguousRename { depender: String, dependee: String, message: String, }, TypeRename(String), ExperimentalModeRequired, ExperimentalModeUnavailable, FailedMigration { last_seen_version: String, this_version: &'static str, cause: String, },
}

Variants

Corruption

Fields

detail: String

IdExhaustion

OidExhaustion

Sql(SqlCatalogError)

Tuple Fields

DatabaseAlreadyExists(String)

Tuple Fields

0: String

DefaultIndexDisabled

Fields

idx_on: String
default_idx: String

SchemaAlreadyExists(String)

Tuple Fields

0: String

RoleAlreadyExists(String)

Tuple Fields

0: String

ItemAlreadyExists(String)

Tuple Fields

0: String

ReservedSchemaName(String)

Tuple Fields

0: String

ReservedRoleName(String)

Tuple Fields

0: String

ReadOnlySystemSchema(String)

Tuple Fields

0: String

ReadOnlyItem(String)

Tuple Fields

0: String

SchemaNotEmpty(String)

Tuple Fields

0: String

InvalidTemporaryDependency(String)

Tuple Fields

0: String

InvalidTemporarySchema

MandatoryTableIndex(String)

Tuple Fields

0: String

UnsatisfiableLoggingDependency

Fields

depender_name: String

Storage(Error)

Tuple Fields

0: Error

Persistence(Error)

Tuple Fields

0: Error

AmbiguousRename

Fields

depender: String
dependee: String
message: String

TypeRename(String)

Tuple Fields

0: String

ExperimentalModeRequired

ExperimentalModeUnavailable

FailedMigration

Fields

last_seen_version: String
this_version: &'static str
cause: String

Trait Implementations

Formats the value using the given formatter. 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.

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