Enum gapi_grpc::google::cloud::clouddms::v1::migration_job_verification_error::ErrorCode[][src]

#[repr(i32)]pub enum ErrorCode {
    Unspecified,
    ConnectionFailure,
    AuthenticationFailure,
    InvalidConnectionProfileConfig,
    VersionIncompatibility,
    ConnectionProfileTypesIncompatibility,
    NoPglogicalInstalled,
    PglogicalNodeAlreadyExists,
    InvalidWalLevel,
    InvalidSharedPreloadLibrary,
    InsufficientMaxReplicationSlots,
    InsufficientMaxWalSenders,
    InsufficientMaxWorkerProcesses,
    UnsupportedExtensions,
    UnsupportedMigrationType,
    InvalidRdsLogicalReplication,
    UnsupportedGtidMode,
    UnsupportedTableDefinition,
    UnsupportedDefiner,
    CantRestartRunningMigration,
}

A general error code describing the type of error that occurred.

Variants

Unspecified

An unknown error occurred

ConnectionFailure

We failed to connect to one of the connection profile.

AuthenticationFailure

We failed to authenticate to one of the connection profile.

InvalidConnectionProfileConfig

One of the involved connection profiles has an invalid configuration.

VersionIncompatibility

The versions of the source and the destination are incompatible.

ConnectionProfileTypesIncompatibility

The types of the source and the destination are incompatible.

NoPglogicalInstalled

No pglogical extension installed on databases, applicable for postgres.

PglogicalNodeAlreadyExists

pglogical node already exists on databases, applicable for postgres.

InvalidWalLevel

The value of parameter wal_level is not set to logical.

InvalidSharedPreloadLibrary

The value of parameter shared_preload_libraries does not include pglogical.

InsufficientMaxReplicationSlots

The value of parameter max_replication_slots is not sufficient.

InsufficientMaxWalSenders

The value of parameter max_wal_senders is not sufficient.

InsufficientMaxWorkerProcesses

The value of parameter max_worker_processes is not sufficient.

UnsupportedExtensions

Extensions installed are either not supported or having unsupported versions.

UnsupportedMigrationType

Unsupported migration type.

InvalidRdsLogicalReplication

Invalid RDS logical replication.

UnsupportedGtidMode

The gtid_mode is not supported, applicable for MySQL.

UnsupportedTableDefinition

The table definition is not support due to missing primary key or replica identity.

UnsupportedDefiner

The definer is not supported.

CantRestartRunningMigration

Migration is already running at the time of restart request.

Implementations

impl ErrorCode[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of ErrorCode.

pub fn from_i32(value: i32) -> Option<ErrorCode>[src]

Converts an i32 to a ErrorCode, or None if value is not a valid variant.

Trait Implementations

impl Clone for ErrorCode[src]

impl Copy for ErrorCode[src]

impl Debug for ErrorCode[src]

impl Default for ErrorCode[src]

impl Eq for ErrorCode[src]

impl From<ErrorCode> for i32[src]

impl Hash for ErrorCode[src]

impl Ord for ErrorCode[src]

impl PartialEq<ErrorCode> for ErrorCode[src]

impl PartialOrd<ErrorCode> for ErrorCode[src]

impl StructuralEq for ErrorCode[src]

impl StructuralPartialEq for ErrorCode[src]

Auto Trait Implementations

impl RefUnwindSafe for ErrorCode

impl Send for ErrorCode

impl Sync for ErrorCode

impl Unpin for ErrorCode

impl UnwindSafe for ErrorCode

Blanket Implementations

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

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>, 
[src]

impl<T> WithSubscriber for T[src]