pub enum ToolState {
TestFail,
TestPass,
BuildFail,
}
Expand description
Whether a tool can be compiled, tested or neither
Variants§
TestFail
The tool compiles successfully, but the test suite fails
TestPass
The tool compiles successfully and its test suite passes
BuildFail
The tool can’t even be compiled
Trait Implementations§
source§impl<'de> Deserialize<'de> for ToolState
impl<'de> Deserialize<'de> for ToolState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ToolState> for ToolState
impl PartialEq<ToolState> for ToolState
source§impl PartialOrd<ToolState> for ToolState
impl PartialOrd<ToolState> for ToolState
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ToolState
impl StructuralPartialEq for ToolState
Auto Trait Implementations§
impl RefUnwindSafe for ToolState
impl Send for ToolState
impl Sync for ToolState
impl Unpin for ToolState
impl UnwindSafe for ToolState
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
impl<T> DeserializeOwned for Twhere T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
TestFail
: 0 bytesTestPass
: 0 bytesBuildFail
: 0 bytes