#[repr(i32)]pub enum TestState {
Unspecified = 0,
Validating = 8,
Pending = 1,
Running = 2,
Finished = 3,
Error = 4,
UnsupportedEnvironment = 5,
IncompatibleEnvironment = 9,
IncompatibleArchitecture = 10,
Cancelled = 6,
Invalid = 7,
}
Expand description
The state (i.e., progress) of a test execution or matrix.
Variants§
Unspecified = 0
Do not use. For proto versioning only.
Validating = 8
The execution or matrix is being validated.
Pending = 1
The execution or matrix is waiting for resources to become available.
Running = 2
The execution is currently being processed.
Can only be set on an execution.
Finished = 3
The execution or matrix has terminated normally.
On a matrix this means that the matrix level processing completed normally, but individual executions may be in an ERROR state.
Error = 4
The execution or matrix has stopped because it encountered an infrastructure failure.
UnsupportedEnvironment = 5
The execution was not run because it corresponds to a unsupported environment.
Can only be set on an execution.
IncompatibleEnvironment = 9
The execution was not run because the provided inputs are incompatible with the requested environment.
Example: requested AndroidVersion is lower than APK’s minSdkVersion
Can only be set on an execution.
IncompatibleArchitecture = 10
The execution was not run because the provided inputs are incompatible with the requested architecture.
Example: requested device does not support running the native code in the supplied APK
Can only be set on an execution.
Cancelled = 6
The user cancelled the execution.
Can only be set on an execution.
Invalid = 7
The execution or matrix was not run because the provided inputs are not valid.
Examples: input file is not of the expected type, is malformed/corrupt, or was flagged as malware
Implementations§
source§impl TestState
impl TestState
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 TestState
impl Ord for TestState
source§impl PartialEq for TestState
impl PartialEq for TestState
source§impl PartialOrd for TestState
impl PartialOrd for TestState
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 TestState
impl TryFrom<i32> for TestState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for TestState
impl Eq for TestState
impl StructuralPartialEq for TestState
Auto Trait Implementations§
impl Freeze for TestState
impl RefUnwindSafe for TestState
impl Send for TestState
impl Sync for TestState
impl Unpin for TestState
impl UnwindSafe for TestState
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