#[non_exhaustive]pub enum TransferState {
Unspecified,
Pending,
Running,
Succeeded,
Failed,
Cancelled,
UnknownValue(UnknownValue),
}Expand description
Represents data transfer run state.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unspecified
State placeholder (0).
Pending
Data transfer is scheduled and is waiting to be picked up by data transfer backend (2).
Running
Data transfer is in progress (3).
Succeeded
Data transfer completed successfully (4).
Failed
Data transfer failed (5).
Cancelled
Data transfer is cancelled (6).
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using TransferState::value or TransferState::name.
Implementations§
Trait Implementations§
Source§impl Clone for TransferState
impl Clone for TransferState
Source§fn clone(&self) -> TransferState
fn clone(&self) -> TransferState
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TransferState
impl Debug for TransferState
Source§impl Default for TransferState
impl Default for TransferState
Source§impl<'de> Deserialize<'de> for TransferState
impl<'de> Deserialize<'de> for TransferState
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for TransferState
impl Display for TransferState
Source§impl From<&str> for TransferState
impl From<&str> for TransferState
Source§impl From<i32> for TransferState
impl From<i32> for TransferState
Source§impl PartialEq for TransferState
impl PartialEq for TransferState
Source§impl Serialize for TransferState
impl Serialize for TransferState
impl StructuralPartialEq for TransferState
Auto Trait Implementations§
impl Freeze for TransferState
impl RefUnwindSafe for TransferState
impl Send for TransferState
impl Sync for TransferState
impl Unpin for TransferState
impl UnwindSafe for TransferState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.