#[repr(i32)]pub enum RunState {
RUN_STATE_UNSPECIFIED = 0,
NEW = 1,
RUNNING = 2,
COMPLETED = 3,
FAILED = 4,
ABORTED = 5,
}Expand description
Lifecycle state of a run, derived from its OpenLineage events. COMPLETED /
FAILED / ABORTED are terminal.
Variants§
Implementations§
Source§impl RunState
impl RunState
Sourcepub const RunStateUnspecified: RunState = Self::RUN_STATE_UNSPECIFIED
pub const RunStateUnspecified: RunState = Self::RUN_STATE_UNSPECIFIED
Idiomatic alias for Self::RUN_STATE_UNSPECIFIED; Debug prints the variant name.
Sourcepub const New: RunState = Self::NEW
pub const New: RunState = Self::NEW
Idiomatic alias for Self::NEW; Debug prints the variant name.
Sourcepub const Running: RunState = Self::RUNNING
pub const Running: RunState = Self::RUNNING
Idiomatic alias for Self::RUNNING; Debug prints the variant name.
Sourcepub const Completed: RunState = Self::COMPLETED
pub const Completed: RunState = Self::COMPLETED
Idiomatic alias for Self::COMPLETED; Debug prints the variant name.
Sourcepub const Failed: RunState = Self::FAILED
pub const Failed: RunState = Self::FAILED
Idiomatic alias for Self::FAILED; Debug prints the variant name.
Sourcepub const Aborted: RunState = Self::ABORTED
pub const Aborted: RunState = Self::ABORTED
Idiomatic alias for Self::ABORTED; Debug prints the variant name.
Trait Implementations§
impl Copy for RunState
Source§impl<'de> Deserialize<'de> for RunState
impl<'de> Deserialize<'de> for RunState
Source§fn deserialize<D>(d: D) -> Result<RunState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<RunState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Enumeration for RunState
impl Enumeration for RunState
Source§fn from_i32(value: i32) -> Option<RunState>
fn from_i32(value: i32) -> Option<RunState>
Convert from an
i32 wire value to the enum. Read moreSource§fn proto_name(&self) -> &'static str
fn proto_name(&self) -> &'static str
The name of this enum variant as it appears in the
.proto file.impl Eq for RunState
Source§impl ProtoElemJson for RunState
impl ProtoElemJson for RunState
Source§fn serialize_proto_json<S>(
v: &RunState,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize_proto_json<S>(
v: &RunState,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value with proto3 JSON semantics.
Source§fn deserialize_proto_json<'de, D>(
d: D,
) -> Result<RunState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize_proto_json<'de, D>(
d: D,
) -> Result<RunState, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize a value with proto3 JSON semantics.
Source§impl Serialize for RunState
impl Serialize for RunState
Source§fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RunState
Auto Trait Implementations§
impl Freeze for RunState
impl RefUnwindSafe for RunState
impl Send for RunState
impl Sync for RunState
impl Unpin for RunState
impl UnsafeUnpin for RunState
impl UnwindSafe for RunState
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<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
Compare self to
key and return true if they are equal.