Enum google_api_proto::google::devtools::resultstore::v2::Status
source · #[repr(i32)]pub enum Status {
Show 14 variants
Unspecified = 0,
Building = 1,
Built = 2,
FailedToBuild = 3,
Testing = 4,
Passed = 5,
Failed = 6,
TimedOut = 7,
Cancelled = 8,
ToolFailed = 9,
Incomplete = 10,
Flaky = 11,
Unknown = 12,
Skipped = 13,
}
Expand description
Status of a resource.
Variants§
Unspecified = 0
The implicit default enum value. Should never be set.
Building = 1
Displays as “Building”. Means the target is compiling, linking, etc.
Built = 2
Displays as “Built”. Means the target was built successfully. If testing was requested, it should never reach this status: it should go straight from BUILDING to TESTING.
FailedToBuild = 3
Displays as “Broken”. Means build failure such as compile error.
Testing = 4
Displays as “Testing”. Means the test is running.
Passed = 5
Displays as “Passed”. Means the test was run and passed.
Failed = 6
Displays as “Failed”. Means the test was run and failed.
TimedOut = 7
Displays as “Timed out”. Means the test didn’t finish in time.
Cancelled = 8
Displays as “Cancelled”. Means the build or test was cancelled. E.g. User hit control-C.
ToolFailed = 9
Displays as “Tool Failed”. Means the build or test had internal tool failure.
Incomplete = 10
Displays as “Incomplete”. Means the build or test did not complete. This might happen when a build breakage or test failure causes the tool to stop trying to build anything more or run any more tests, with the default bazel –nokeep_going option or the –notest_keep_going option.
Flaky = 11
Displays as “Flaky”. Means the aggregate status contains some runs that were successful, and some that were not.
Unknown = 12
Displays as “Unknown”. Means the tool uploading to the server died mid-upload or does not know the state.
Skipped = 13
Displays as “Skipped”. Means building and testing were skipped. (E.g. Restricted to a different configuration.)
Implementations§
source§impl Status
impl Status
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 Ord for Status
impl Ord for Status
source§impl PartialEq for Status
impl PartialEq for Status
source§impl PartialOrd for Status
impl PartialOrd for Status
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 Status
impl TryFrom<i32> for Status
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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