Enum gapi_grpc::google::cloud::sql::v1beta4::SqlReplicationType[][src]

#[repr(i32)]pub enum SqlReplicationType {
    Unspecified,
    Synchronous,
    Asynchronous,
}

Variants

Unspecified

This is an unknown replication type for a Cloud SQL instance.

Synchronous

The synchronous replication mode for First Generation instances. It is the default value.

Asynchronous

The asynchronous replication mode for First Generation instances. It provides a slight performance gain, but if an outage occurs while this option is set to asynchronous, you can lose up to a few seconds of updates to your data.

Implementations

impl SqlReplicationType[src]

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

Returns true if value is a variant of SqlReplicationType.

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

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

Trait Implementations

impl Clone for SqlReplicationType[src]

impl Copy for SqlReplicationType[src]

impl Debug for SqlReplicationType[src]

impl Default for SqlReplicationType[src]

impl Eq for SqlReplicationType[src]

impl From<SqlReplicationType> for i32[src]

impl Hash for SqlReplicationType[src]

impl Ord for SqlReplicationType[src]

impl PartialEq<SqlReplicationType> for SqlReplicationType[src]

impl PartialOrd<SqlReplicationType> for SqlReplicationType[src]

impl StructuralEq for SqlReplicationType[src]

impl StructuralPartialEq for SqlReplicationType[src]

Auto Trait Implementations

impl RefUnwindSafe for SqlReplicationType

impl Send for SqlReplicationType

impl Sync for SqlReplicationType

impl Unpin for SqlReplicationType

impl UnwindSafe for SqlReplicationType

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]