#[repr(i32)]pub enum TestState {
Unspecified = 0,
Validating = 1,
Pending = 2,
Finished = 3,
Error = 4,
Invalid = 5,
}Expand description
Possible test states for a test matrix.
Variants§
Unspecified = 0
The default value. This value is used if the state is omitted.
Validating = 1
The test matrix is being validated.
Pending = 2
The test matrix is waiting for resources to become available.
Finished = 3
The test matrix has completed normally.
Error = 4
The test matrix has completed because of an infrastructure failure.
Invalid = 5
The test matrix was not run because the provided inputs are not valid.
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 PartialOrd for TestState
impl PartialOrd for TestState
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
Mutably borrows from an owned value. Read more