Enum gapi_grpc::google::firestore::admin::v1beta2::OperationState[][src]

#[repr(i32)]pub enum OperationState {
    Unspecified,
    Initializing,
    Processing,
    Cancelling,
    Finalizing,
    Successful,
    Failed,
    Cancelled,
}

Describes the state of the operation.

Variants

Unspecified

Unspecified.

Initializing

Request is being prepared for processing.

Processing

Request is actively being processed.

Cancelling

Request is in the process of being cancelled after user called google.longrunning.Operations.CancelOperation on the operation.

Finalizing

Request has been processed and is in its finalization stage.

Successful

Request has completed successfully.

Failed

Request has finished being processed, but encountered an error.

Cancelled

Request has finished being cancelled after user called google.longrunning.Operations.CancelOperation.

Implementations

impl OperationState[src]

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

Returns true if value is a variant of OperationState.

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

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

Trait Implementations

impl Clone for OperationState[src]

impl Copy for OperationState[src]

impl Debug for OperationState[src]

impl Default for OperationState[src]

impl Eq for OperationState[src]

impl From<OperationState> for i32[src]

impl Hash for OperationState[src]

impl Ord for OperationState[src]

impl PartialEq<OperationState> for OperationState[src]

impl PartialOrd<OperationState> for OperationState[src]

impl StructuralEq for OperationState[src]

impl StructuralPartialEq for OperationState[src]

Auto Trait Implementations

impl RefUnwindSafe for OperationState

impl Send for OperationState

impl Sync for OperationState

impl Unpin for OperationState

impl UnwindSafe for OperationState

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]