Enum google_api_proto::google::cloud::aiplatform::v1::PipelineState
source · #[repr(i32)]pub enum PipelineState {
Unspecified = 0,
Queued = 1,
Pending = 2,
Running = 3,
Succeeded = 4,
Failed = 5,
Cancelling = 6,
Cancelled = 7,
Paused = 8,
}
Expand description
Describes the state of a pipeline.
Variants§
Unspecified = 0
The pipeline state is unspecified.
Queued = 1
The pipeline has been created or resumed, and processing has not yet begun.
Pending = 2
The service is preparing to run the pipeline.
Running = 3
The pipeline is in progress.
Succeeded = 4
The pipeline completed successfully.
Failed = 5
The pipeline failed.
Cancelling = 6
The pipeline is being cancelled. From this state, the pipeline may only go to either PIPELINE_STATE_SUCCEEDED, PIPELINE_STATE_FAILED or PIPELINE_STATE_CANCELLED.
Cancelled = 7
The pipeline has been cancelled.
Paused = 8
The pipeline has been stopped, and can be resumed.
Implementations§
source§impl PipelineState
impl PipelineState
source§impl PipelineState
impl PipelineState
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for PipelineState
impl Clone for PipelineState
source§fn clone(&self) -> PipelineState
fn clone(&self) -> PipelineState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PipelineState
impl Debug for PipelineState
source§impl Default for PipelineState
impl Default for PipelineState
source§fn default() -> PipelineState
fn default() -> PipelineState
source§impl From<PipelineState> for i32
impl From<PipelineState> for i32
source§fn from(value: PipelineState) -> i32
fn from(value: PipelineState) -> i32
source§impl Hash for PipelineState
impl Hash for PipelineState
source§impl Ord for PipelineState
impl Ord for PipelineState
source§fn cmp(&self, other: &PipelineState) -> Ordering
fn cmp(&self, other: &PipelineState) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for PipelineState
impl PartialEq for PipelineState
source§fn eq(&self, other: &PipelineState) -> bool
fn eq(&self, other: &PipelineState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PipelineState
impl PartialOrd for PipelineState
source§fn partial_cmp(&self, other: &PipelineState) -> Option<Ordering>
fn partial_cmp(&self, other: &PipelineState) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for PipelineState
impl TryFrom<i32> for PipelineState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<PipelineState, UnknownEnumValue>
fn try_from(value: i32) -> Result<PipelineState, UnknownEnumValue>
impl Copy for PipelineState
impl Eq for PipelineState
impl StructuralPartialEq for PipelineState
Auto Trait Implementations§
impl Freeze for PipelineState
impl RefUnwindSafe for PipelineState
impl Send for PipelineState
impl Sync for PipelineState
impl Unpin for PipelineState
impl UnwindSafe for PipelineState
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request